[Samba] confusion about shares and rights
J. Echter
j.echter at elektro-mayer-echter.de
Tue May 10 06:12:26 MDT 2011
Am 10.05.2011 12:35, schrieb Michal Belica:
> Hi Juergen,
>
>>> [share]
>>> path = /mnt/share
>>> guest ok = yes
>>> writeable = no
>>> public = no
>>> write list = @ntusers
>>> read only = no
>
> Hm, is it OK to combine "writable = no" with "read only = no"? I think they have the same effect, just reversed and using them like this could be a source of conflict.
>
>> [share]
>> path = /mnt/share
>> guest ok = yes
>> public = no
>> valid users = @ntusers
>> force group = @ntusers
>> browseable = yes
>> read only = no
>> create mask = 0660
>> directory mask = 0770
>> force create mode = 0660
>> force directory mode = 0770
>
>> but still i get these permissions:
>
>> drwxrwx--- 9 99 99 113 May 10 11:59 test
>
>> somethings wrong here...
>
> And what permissions would you expect? You said "force directory mode = 0770" and the "test" directory indeed has these permissions.
>
Hi Michael,
sorry, i was wrong. i meant the ownage of the dirs. i expected ntusers
as group owner.
but i solved my problem by putting create mode setting in to my share
definitions.
now it works as expected.
thanks for your help.
juergen.
More information about the samba
mailing list