[Samba] read only - write list

Thomas Dorsch t.dorsch at ewt.de
Thu Apr 13 15:09:27 GMT 2006


Hi Eric,

maybe this is what you ' re looking for:

[share]
        comment = whatever
        path = /mnt/share_1
        valid users = @group1      # both users have to be members of 
that group
        write list = user2
        public = no
        writable = no
        create mask = 0750
        force create mode = 0650
        directory mask = 0750
        force directory mode = 0750


Another important thing is that you set the right filesystem permissions 
for the share.

Hope this helps !



Eric Velluet schrieb:
> Hello,
>
> I want to share à directory in read/write access for user1 and in read 
> access for an user2.
> Y try this syntaxe without succes :
>
> [sharerep]
> valid users = user1, user2
> public = no
> browseable = yes
> read only = yes
> write list = user1
>
> Y try also read only = no but in this case the two users can read/write
>
> samba version 3.0.10
>
> I have not understand something but what  ?
>
> Best wishes.
>


More information about the samba mailing list