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)
Wed, Jan 8, 2:01 PM
Unknown Object (File)
Dec 31 2024, 1:41 AM
Unknown Object (File)
Dec 22 2024, 10:52 PM
Unknown Object (File)
Nov 22 2024, 11:28 PM
Unknown Object (File)
Nov 22 2024, 8:21 AM
Unknown Object (File)
Nov 20 2024, 11:31 AM
Unknown Object (File)
Nov 18 2024, 12:05 PM
Unknown Object (File)
Nov 13 2024, 2:41 AM
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.