[Samba] Samba permissions

Scott Mayo sgmayo at mail.bloomfield.k12.mo.us
Fri Jul 29 15:19:04 GMT 2005


I am working on my permissions and something does not quite make sense 
to me.  Here is what I have set.

/DIR          (Unix permissions are 3777)

Then in samba I have the following

[dir]
path = /DIR
read only = no
valid users @teach @student
create mask 3660
directory mask 3770

Then from a windows workstation, I create a new directory inside 'dir', 
and call it 'teach'.

The permissions of 'teach' are 2770.  It looks like it should be 3770 to 
me since the 'directory mask' commands does a bitwise 'AND'.  Anyone 
know why this is?  Maybe it is because of the DOS attributes or something.

Thanks for any help.

-- 
Scott Mayo
Technology Coordinator
Bloomfield Schools
PH: 573-568-5669
FA: 573-568-4565
Pager: 800-264-2535 X2549

Duct tape is like the force, it has a light side and a dark side and it
holds the universe together.


More information about the samba mailing list