[Samba] Proper unix ownership/Permissions for top level share

JD Daniels jd at internetguys.ca
Tue Jun 3 08:50:25 MDT 2014


I am using zfs on linux to store my file shares on. When I create a new 
file system, they have the following permissions:

[root at server ~]# zfs create tank/testsystem
[root at server ~]# ls -Al /tank
drwxrwxrwx+  10 root    root   27 Jun  2 20:10 Software
drwxr-xr-x    2 root    root    2 Jun  3 07:43 testsystem

At this point, if I use the rsat and attempt to set ACL, I get 
permission denied. adding rwx to everyone, as the "software" system 
shows above, then the rsat work as expected (and i get the + indicating 
ACL has been set.)

However, having my root folder sitting with rwx is rubbing me the wrong 
way - I don't think that is how it should be.

Could someone elucidate for me what the proper unix 
ownership/permissions should be for my top level shares? Is there a set 
of acls I can apply on the unix side as part of my file system creation?

I am using Samba 4.1.7 previsioned as a primary domain controller 
(Active directory, not NT style)

-- 
JD Daniels



More information about the samba mailing list