[Bug 286669] getfacl: sort order of permissions different from other systems
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 286669] getfacl: sort order of permissions different from other systems"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 286669] getfacl: sort order of permissions different from other systems"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 286669] getfacl: sort order of permissions different from other systems"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 286669] getfacl: sort order of permissions different from other systems"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 286669] getfacl: sort order of permissions different from other systems"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 286669] getfacl: sort order of permissions different from other systems"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 286669] getfacl: sort order of permissions different from other systems"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 08 May 2025 11:42:47 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=286669
Bug ID: 286669
Summary: getfacl: sort order of permissions different from
other systems
Product: Base System
Version: 14.2-RELEASE
Hardware: Any
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: misc
Assignee: bugs@FreeBSD.org
Reporter: t@ida2.de
Hi,
while writing a script to set NFSv4 ACL on ZFS file systems I've noticed that
getfacl shows the permissions bits in in different order than other systems.
On FreeBSD the full_set is: "rwxpDdaARWcCos"
On illumos and Synology Diskstation Linux the full_set is: "rwxpdDaARWcCos"
Note the "dD" vs. "Dd".
Just for reference:
* delete (d) Permission to delete a file.
* delete_child (D) Permission to delete a file within a directory.
I've stumbled upon this minor oddity while trying to set the FreeBSD style ACE
on illumos, which fails:
# chmod A+group:staff:rwxpDdaARWc--s:fd:allow /mnt/acltest
Invalid permission(s) 'rwxpDdaARWc--s' specified
This one works:
# chmod A+group:staff:rwxpdDaARWc--s:fd:allow /mnt/acltest
So why not use the same style?
--
You are receiving this mail because:
You are the assignee for the bug.