This is the old XigmaNAS forum in read only mode,
it will taken offline by the end of march 2021!



I like to aks Users and Admins to rewrite/take over important post from here into the new fresh main forum!
Its not possible for us to export from here and import it to the main forum!

aclmode chown and inheritance

Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
monty
NewUser
NewUser
Posts: 13
Joined: 02 Dec 2014 19:57
Status: Offline

aclmode chown and inheritance

Post by monty »

Dear All,

The aclmode set passthrough. My problem is the effect of the chmod command. However the aclmode passthrough seems to be the best, the chmod utility is allways removing the inheritance flags.
For example when I make acl to a directory with the inheritance f and d flag,
for example: setfacl -m u:user:rwxaRc:fd: allow directory_name (other settings: inherit owner = yes, inherit permissions = yes, enable zfs acl, enabled zfs inheritance )
It works like a charm, any new files and folders inherit the permissions until a chmod command issued on that folder, which removes the inheritance flags.
Is there any way to disable this "side" effect?

thank you

User avatar
Parkcomm
Advanced User
Advanced User
Posts: 384
Joined: 21 Sep 2012 12:58
Location: Australia
Status: Offline

Re: aclmode chown and inheritance

Post by Parkcomm »

I'm not sure I understand the problem so I'll to to reflect it back to you.

You setfacl on the grandparent - you chmod the parent - the child does not inherit the ACL attribute of the grandparent? Or do you want the grandchild to inherit from the parent, or is the issue something else?

So admittedly I am confused, but could you use the setfacl command on the parent instead of a chmod?
NAS4Free Embedded 10.2.0.2 - Prester (revision 2003), HP N40L Microserver (AMD Turion) with modified BIOS, ZFS Mirror 4 x WD Red + L2ARC 128M Apple SSD, 10G ECC Ram, Intel 1G CT NIC + inbuilt broadcom

Post Reply

Return to “ZFS (only!)”