LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


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

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


Hello!

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:

http://i184.photobucket.com/albums/x...ium77/foto.jpg

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.

Cheers!
Thomas
 
Old 02-27-2015, 07:00 AM   #2
jpollard
Senior Member
 
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 4,702

Rep: Reputation: 1270Reputation: 1270Reputation: 1270Reputation: 1270Reputation: 1270Reputation: 1270Reputation: 1270Reputation: 1270Reputation: 1270
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)

https://wiki.samba.org/index.php/Set..._member_server
 
  


Reply


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 01:21 PM
LXer: Head to Head Desktop Comparison: Ubuntu 12.10 vs OS X Mountain Lion LXer Syndicated Linux News 0 01-24-2013 03:40 AM
Trying to wrap my head around bash eveningsky339 Programming 5 12-02-2010 01:47 AM
"enscript --word-wrap" does not wrap line of text file powah Linux - General 3 05-16-2006 09:12 PM
x86 Solaris 9 XSun and Matrox G550 dual-head... one head down, one to go. finegan Solaris / OpenSolaris 4 03-11-2003 12:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:50 PM.

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