Samba shares for multiple users on different folders

If none of the more specific forums is the right place to ask
Post Reply
Message
Author
MrGlasspoole
Posts: 26
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