Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 02-26-2015, 02:21 PM   #1
LQ Newbie
Registered: Feb 2015
Posts: 1

Rep: Reputation: Disabled
Can't wrap my head around it. permissions


I'm setting up my second homeserver and i'm trying a better/safer approach this time.

My last box ran centOS6.5, Plexmediaserver (ntfs mounted drives) ; Samba , znc , ftp & ssh.
Now this machine was perfect still works like a charm. But i want to do things better this time.

So i got an old server HP Proliant ml350 G5 for a buck. I've finally dared to format 3x 2tb drives as Ext4 and have them running in a software RAID 5. (bye bye NTFS)

Now since my parents will also be using this server as backup and fileserver, i need some permissions in my sambashares.

So i've set up a directory at /sambashares and gave Thomas ownership of it.
but now the rest

So what i'm struggling with:

User Thomas needs to have read/write/execute access to the whole /sambashares dir
(including Patrick & Nane's files)

Patrick needs read/write/execute access to /sambashares/Patrick & /sambashares/"NewItemsHere"
Patrick needs read access in Movies / TvShows
Patrick may not see the data of Thomas or Nane

Nane needs read/write/execute access to /sambashares/Nane & /sambashares/"NewItemsHere"
Nane needs read access in Movies / TvShows
Nane may not see the data of Thomas or Patrick

I already added 2 groups (admins & pheasants)
Thomas is in the admin group.
Nane and Patrick are in Pheasants

Note: If i recall correctly PlexMediaserver needs ownership of the movie files and Tv Shows for it to function correctly.
(not sure about that, might have been a requirement with mounted NTFS drives)

Time is not on my side, i'm at the end of my CCNA certification and my brain is overloaded with routing commands due to exams coming soon! So if anyone could help me on the way with some keystrokes, that would be great.

Old 02-27-2015, 08:00 AM   #2
Senior Member
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 4,714

Rep: Reputation: 1280Reputation: 1280Reputation: 1280Reputation: 1280Reputation: 1280Reputation: 1280Reputation: 1280Reputation: 1280Reputation: 1280
I think you are describing a use of ACLs - and Samba4 does support that

Perhaps the following reference will help (note: I've not done this myself)


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Lavabit goes head to head with feds in contempt-of-court case LXer Syndicated Linux News 0 01-29-2014 02:21 PM
LXer: Head to Head Desktop Comparison: Ubuntu 12.10 vs OS X Mountain Lion LXer Syndicated Linux News 0 01-24-2013 04:40 AM
Trying to wrap my head around bash eveningsky339 Programming 5 12-02-2010 02:47 AM
"enscript --word-wrap" does not wrap line of text file powah Linux - General 3 05-16-2006 10:12 PM
x86 Solaris 9 XSun and Matrox G550 dual-head... one head down, one to go. finegan Solaris / OpenSolaris 4 03-11-2003 01:39 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:14 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration