cvs commit: src/sys/ufs/ffs ffs_vfsops.c
Pawel Jakub Dawidek
pjd at FreeBSD.org
Fri Jan 28 16:58:37 PST 2005
pjd 2005-01-29 00:58:36 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_5)
sys/ufs/ffs ffs_vfsops.c
Log:
MFC: ffs_vfsops.c:1.269
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
Revision Changes Path
1.240.2.2 +5 -0 src/sys/ufs/ffs/ffs_vfsops.c
More information about the cvs-src
mailing list