Samba shares for multiple users on different folders

If none of the more specific forums is the right place to ask

Samba shares for multiple users on different folders

Postby MrGlasspoole » 2019-12-09 23:22

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
MrGlasspoole
 
Posts: 14
Joined: 2012-12-22 21:34

Return to General Questions

Who is online

Users browsing this forum: No registered users and 3 guests

fashionable
cron