cvs commit: src/sys/ufs/ffs ffs_vfsops.c
Pawel Jakub Dawidek
pjd at FreeBSD.org
Sat Jan 15 09:09:53 PST 2005
pjd 2005-01-15 17:09:53 UTC
FreeBSD src repository
Modified files:
sys/ufs/ffs ffs_vfsops.c
Log:
Fix ACLs handling for the root file system.
Without this fix, when ACLs are set via tunefs(8) on the root file system,
they are removed on boot when 'mount -a' is called, because mount(8)
called for the root file system always add MNT_UPDATE flag and MNT_UPDATE
flag isn't perfect.
Now, one cannot remove ACLs stored in superblock (configured with tunefs(8))
via 'mount -a' nor 'mount -u -o noacls <file system>', but it is still
possible to mount file system which doesn't have ACLs in superblock via
'mount -o acls <file system>' or /etc/fstab's 'acls' option.
Reported by: Lech Lorens/pl.comp.os.bsd
Discussed with: phk, rwatson
Reviewed by: rwatson
MFC after: 2 weeks
Revision Changes Path
1.269 +5 -0 src/sys/ufs/ffs/ffs_vfsops.c
More information about the cvs-src
mailing list