Date: Thu, 08 May 2025 11:42:47 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 286669] getfacl: sort order of permissions different from other systems Message-ID: <bug-286669-227@https.bugs.freebsd.org/bugzilla/>
index | next in thread | raw e-mail
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.home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-286669-227>
