Cannot enable ACLs
Heinrich Rebehn
rebehn at ant.uni-bremen.de
Mon May 30 06:49:57 PDT 2005
Hi list,
I have no luck trying to enable ACLs on my UFS2 filesystem:
#################################################
root at antsrv1 [~] # mount -u -o ro /export/linux/root
root at antsrv1 [~] # mount|grep linux/root
/dev/da0s1a on /export/linux/root (ufs, NFS exported, local, read-only,
soft-updates)
root at antsrv1 [~] # tunefs -a enable /export/linux/root
tunefs: ACLs set
root at antsrv1 [~] # tunefs -p /export/linux/root
tunefs: ACLs: (-a) enabled
tunefs: MAC multilabel: (-l) disabled
tunefs: soft updates: (-n) enabled
tunefs: maximum blocks per file in a cylinder group: (-e) 2048
tunefs: average file size: (-f) 16384
tunefs: average number of files in a directory: (-s) 64
tunefs: minimum percentage of free space: (-m) 8%
tunefs: optimization preference: (-o) time
tunefs: volume label: (-L)
root at antsrv1 [~] # mount -u -o rw /export/linux/root
root at antsrv1 [~] # mount|grep linux/root
/dev/da0s1a on /export/linux/root (ufs, NFS exported, local, soft-updates)
root at antsrv1 [~] # tunefs -p /export/linux/root
tunefs: ACLs: (-a) disabled
tunefs: MAC multilabel: (-l) disabled
tunefs: soft updates: (-n) enabled
tunefs: maximum blocks per file in a cylinder group: (-e) 2048
tunefs: average file size: (-f) 16384
tunefs: average number of files in a directory: (-s) 64
tunefs: minimum percentage of free space: (-m) 8%
tunefs: optimization preference: (-o) time
tunefs: volume label: (-L)
root at antsrv1 [~] # mount|grep linux/root
/dev/da0s1a on /export/linux/root (ufs, NFS exported, local, soft-updates)
root at antsrv1 [~] #
##################################################################
As you can see, if i mount the fs r/o, i can enable ACLs, but as soon as
i remount r/w again, ACLs are disabled again.
According to the handbook, this should work.
What am i missing?
root at antsrv1 [~] # uname -a
FreeBSD antsrv1.ant.uni-bremen.de 5.3-RELEASE-p15 FreeBSD
5.3-RELEASE-p15 #13: Fri May 13 09:35:22 CEST 2005
root at antsrv1.ant.uni-bremen.de:/usr/obj/usr/src/sys/ANTSRV1 i386
Regards,
Heinrich Rebehn
University of Bremen
Physics / Electrical and Electronics Engineering
- Department of Telecommunications -
Phone : +49/421/218-4664
Fax : -3341
More information about the freebsd-questions
mailing list