[Samba] Rights upon share folders and subfolders in smb.conf

Felipe felipe.piccirilo at gmail.com
Thu Jun 23 12:24:59 GMT 2005


Hi people!

There is anyway I could control the rights of the users upon share
folders and its subfolders within smb.conf? I'll try to give an
example:

 [folder1]
    path = /home/data/folder1
    writeable = yes
    valid users = user1 user2
    force group = folder1
    create mask = 0770
    force create mode = 0770
    directory mask = 0770
    force directory mode = 0770
    browsable = yes

 [folder2]
    path = /home/data/folder1/folder2
    writeable = yes
    valid users = user2
    force group = folder2
    create mask = 0770
    force create mode = 0770
    directory mask = 0770
    force directory mode = 0770
    browsable = yes

and I can't have then at the same level...

In fact, what I really need is to control the "valid users" in each
folder but not in a recursive mode.

best regards,
Felipe

ps:Sorry about any mistake in my poor english :)


More information about the samba mailing list