bin/54185: UFS2 filesystem ACL flag not enforced
Robert Watson
rwatson at FreeBSD.org
Sun Jul 13 05:24:46 PDT 2003
On Sat, 12 Jul 2003, Ceri Davies wrote:
> Synopsis: UFS2 filesystem ACL flag not enforced
paprika# newfs /dev/md11
/dev/md11: 1.0MB (2048 sectors) block size 16384, fragment size 2048
using 2 cylinder groups of 0.50MB, 32 blks, 64 inodes.
super-block backups (for fsck -b #) at:
160, 1184
paprika# tunefs -a enable /dev/md11
tunefs: ACLs set
paprika# mount /dev/md11 /mnt
paprika# mount
/dev/ad0s1a on / (ufs, local)
devfs on /dev (devfs, local, multilabel)
/dev/ad0s1e on /usr (ufs, local, soft-updates)
/dev/ad0s1d on /var (ufs, local, soft-updates)
linprocfs on /usr/compat/linux/proc (linprocfs, local)
/dev/md10 on /tmp (ufs, local, multilabel)
/dev/md11 on /mnt (ufs, local, acls)
paprika# cd /mnt
paprika# setfacl -m user:testuser:rwx .
paprika# getfacl .
#file:.
#owner:0
#group:0
user::rwx
user:testuser:rwx
group::r-x
mask::rwx
other::r-x
Appears to work for me on 5.1-CURRENT; I don't remember changing the
semantics recently. Can you confirm the version you're running, and use
the exact sequence of commands above and see what you get?
Robert N M Watson FreeBSD Core Team, TrustedBSD Projects
robert at fledge.watson.org Network Associates Laboratories
More information about the freebsd-bugs
mailing list