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

 

 

 

Samba shares for multiple users on different folders

If none of the specific sub-forums seem right for your thread, ask here.
Post Reply
Message
Author
MrGlasspoole
Posts: 27
Joined: 2012-12-22 21:34

Samba shares for multiple users on different folders

#1 Post by MrGlasspoole »

I really have a hard time with Samba.
Every tutorial is different and i can't find one for my use case.
All this stuff:

Code: Select all

chown -R root:users /directory
chmod -R ug+rwx,o+rx-w /directory
chown -R Parents /directory
chmod 777 /directory
chgrp sambashare /directory
and something else is confusing.

I want to create 2 users (Me and Parents). They don't need Debian access or a home folder.
Me should have access to all this folders or the complete drives with all privileges (read/write/delete/create).
Parents should be able to only access and see some folders (Music, eBooks, TV Parents) and should only have all privileges on "TV Parents" and just read on Music and eBooks.

Code: Select all

/mnt/sdb1/TV Me
/mnt/sdb1/TV Parents
/mnt/sdb1/Download

/mnt/sdc1/Music
/mnt/sdc1/Music Videos
/mnt/sdc1/eBooks

Post Reply