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!

ACL Lists, Inheritance, Ownership

CIFS/SMB network sharing.
Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
xbmcg
NewUser
NewUser
Posts: 10
Joined: 12 Nov 2012 13:55
Status: Offline

ACL Lists, Inheritance, Ownership

Post by xbmcg »

Hi there,

what settings need to be done to have a behavior of the storage like a windows server?

enable Permission inheritance checked
Use zfs ACLs checked
Enable guest access unchecked

I have checked the box "inherit permissions", but they are not inherited the right way.

My settings on the root folder are : 770 (owner, full control, Group full control, anyone else no access).

When copying files, the owner has full control, the group gets read only and the everyone gets special permissions.
The Owner of the folder is not populated to new files and permissions / ownership cannot be changed in windows
(grayed out). Also in Windows the ownership can be set to a group - this is not working here too.
It seems zfs-acl is not implemented the right way or I have missed something (Samba-Interface Permission Masks?)

If I disable inheritance I can modify the permissions only if I am the owner. Group permissions (full control) are not working
the way they should.

xbmcg
NewUser
NewUser
Posts: 10
Joined: 12 Nov 2012 13:55
Status: Offline

Re: ACL Lists, Inheritance, Ownership

Post by xbmcg »

... also a function is missing to map unix groups to samba groups


e.g.:
# net groupmap add ntgroup="Domain Admins" unixgroup=domadm rid=512 type=d

this could solve a lot of issuer with acl stuff, if the regular groups in windows are mapped to an according unix groups (administrators, authenticated users, everyone) and this are mapped by default to unix owner, group, everyone - so ACL would work out of the box on setup....

Post Reply

Return to “CIFS/SMB (Samba)”