UFS2 ACL problems on root (boot) partition
Matthew Bertrand
meb at bardenent.com
Sun Feb 1 10:03:57 PST 2004
Trying to get ACLs to work on UFS2, and I'm having some trouble getting it
to work on my root partition.
Here's the symptom:
# setfacl -m user:nobody:rwx /testacl
setfacl: acl_get_file() failed: Operation not supported
# setfacl -m user:nobody:rwx /usr/testacl
#
Here's some relevant information about the disks:
# dumpfs / | head -n 1
magic 19540119 (UFS2) time Sun Feb 1 07:43:56 2004
# dumpfs /usr | head -n 1
magic 19540119 (UFS2) time Sun Feb 1 07:44:24 2004
# tunefs -p /
tunefs: ACLs: (-a) enabled
tunefs: MAC multilabel: (-l) disabled
tunefs: soft updates: (-n) disabled
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)
# tunefs -p /usr
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)
#
I have rebooted after enabling -a, and all commands are being run as root on
files owned by root. Of course USER_ACL is enabled in
Anyone have any ideas?
Thanks,
-Matthew Bertrand
More information about the freebsd-questions
mailing list