LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 04-01-2018, 02:44 PM   #1
CrowbarHero
LQ Newbie
 
Registered: Mar 2018
Location: Wales, UK
Distribution: Debian
Posts: 29

Rep: Reputation: Disabled
Getting my head around users on a shared file/media server


Scenario:

Small 2TB file/media server running debian 9 (finally!).
Typical tasks are DLNA server, samba server, etc.

2 users (myself, and my wife)

In addition to the human element, there are obviously going to be non-human users for things like the DLNA server which will require access to the media library.

Previously set up and running through setting everything in sight to chmod 777, obviously this was far from ideal.

So any suggestions as to how I can structure things in a more thought about way?

Alternatively, anyone got any links to some example scenarios? I've read some of the documentation, but that described the method, rather than the philosophy.
 
Old 04-01-2018, 05:12 PM   #2
RandomTroll
Senior Member
 
Registered: Mar 2010
Distribution: Slackware
Posts: 1,959

Rep: Reputation: 271Reputation: 271Reputation: 271
You can create a group for yourself and your wife and give everything you both share group permissions then eliminate user permissions.

Another way to limit permissions is to create a group for a use ('mail' for users of mail, for example), give mail programs group permissions, assign all mail users to that group.
 
1 members found this post helpful.
Old 04-01-2018, 05:19 PM   #3
CrowbarHero
LQ Newbie
 
Registered: Mar 2018
Location: Wales, UK
Distribution: Debian
Posts: 29

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by RandomTroll View Post
You can create a group for yourself and your wife and give everything you both share group permissions then eliminate user permissions.

Another way to limit permissions is to create a group for a use ('mail' for users of mail, for example), give mail programs group permissions, assign all mail users to that group.
cool. So I have now have a group called 'humans' which I can then use for most interaction. I can also set up another group called 'cams' for my webcams to upload captures.

thanks
 
  


Reply



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
[US_Politics] The US Senate Collides Head-On With Social Media sundialsvcs General 5 02-08-2017 03:46 PM
apt-config:error while loading shared libraries: libgcc_s.so.1 cannot open shared object file: No such file or directory wenyumei Ubuntu 1 07-20-2016 10:58 AM
Apache2 shared server file security Emil M Linux - Server 3 12-19-2011 10:49 AM
[SOLVED] No way to change ownership from "nobody:users" on shared server?! macinix Linux - Newbie 5 12-04-2011 07:49 PM
Web Server and File (Media) Server yoachan Linux - Server 5 03-20-2010 04:22 AM

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

All times are GMT -5. The time now is 10:06 AM.

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
Open Source Consulting | Domain Registration