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
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