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.
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba

Reply via email to