Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Debian Samba configure subfolder

New to Debian (Or Linux in general)? Ask your questions here!
Post Reply
Message
Author
TopJan
Posts: 2
Joined: 2018-12-10 15:00

Debian Samba configure subfolder

#1 Post by TopJan »

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.

Post Reply