Page MenuHomeFreeBSD

Fix trivial ACLs on directories exported via NFSv4.
ClosedPublic

Authored by trasz on Aug 27 2015, 9:03 AM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Jun 25, 9:07 PM
Unknown Object (File)
Tue, Jun 25, 8:42 PM
Unknown Object (File)
Tue, Jun 25, 8:40 PM
Unknown Object (File)
May 28 2024, 12:22 AM
Unknown Object (File)
Apr 25 2024, 6:55 PM
Unknown Object (File)
Apr 24 2024, 11:34 AM
Unknown Object (File)
Apr 24 2024, 10:15 AM
Unknown Object (File)
Mar 18 2024, 5:07 PM
Subscribers

Details

Summary

The patch below fixes a bug that manifested in "ls -al" displaying a plus
sign on every directory exported via NFSv4 with NFSv4 ACLs enabled.

No idea why this particular bit - ACL_SYNCHRONIZE - was missing for the
VDIR case.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

trasz retitled this revision from to Fix trivial ACLs on directories exported via NFSv4..
trasz updated this object.
trasz edited the test plan for this revision. (Show Details)
rmacklem edited edge metadata.

Looks fine to me, although I'll admit I have no idea what "SYNCHRONIZE"
means? (I was told it was a Windows thing, which was probably why I
didn't include it.)

This revision is now accepted and ready to land.Aug 27 2015, 10:46 PM

It is a Windows thing, and it's ignored in FreeBSD. Still - it is included in !VDIR, and not included in VDIR; do you remember why it's so? Compatibility with some other implementation, perhaps?

I don't recall.

I suspect I believed that it didn't apply to directories for some
reason, but I don't know where I got that from. As already noted,
I don't see a problem with the patch.

This revision was automatically updated to reflect the committed changes.