Debian Samba configure subfolder

New to Debian (Or Linux in general)? Ask your questions here!

Debian Samba configure subfolder

Postby TopJan » 2019-04-03 21:09

Salutations!

I have a working SHARE SERVER Debian with a Samba share configuration and I need help configuring one specific share:

Let's say in my smb.conf one of my shares looks like this:

#this is a working share on my server#
[Share1]
path = /share/folder1
browseable = yes
writable = yes
guest ok = no
valid users = @folder2users
create mask = 0777
directory mask = 0777

I would like to have another user called specialuser (that is outside of user group @folder2users ) to have full acces to a subfolder of that share (for example /share/folder1/subfolder2 ).

How should I correctly define this :
[Share2]
path = /share/folder1/subfolder2
browseable = yes
writable = yes
guest ok = no
valid users = specialuser @folder2users
create mask = 0777
directory mask = 0777

Thank you in advance,
Jan.
TopJan
 
Posts: 2
Joined: 2018-12-10 15:00

Return to Beginners Questions

Who is online

Users browsing this forum: No registered users and 10 guests

fashionable