Visit Jeremy's Blog.
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 11-17-2010, 08:09 PM   #1
Registered: Nov 2004
Location: London, UK
Distribution: CentOS, RHEL, Debian, IPCop, PS2Linux
Posts: 95

Rep: Reputation: 23
Question Samba, netatalk, proftpd combined file sharing... permissions and groups

Hi everyone

I'm setting up a new NAS box and I'd like to share volumes out using 3 different protocols:
SMB, Samba
AFPD, Netatalk (AFPD over tcp/ip, not Appletalk)
Possibly a 4th at some point as well... HTTP using WebDAV

I'd like all volumes to be fully accessible by users, so can delete files created through other protocols, rename, make directories, everything.

I've already got some test shares up and running with my configurations almost there... but what's a good starting point to getting the permissions correct?
664 seems like a sensible starting point to me.
There's no reason why any of the files in the shares need to be executable. Any files that I want to execute (backup scripts etc) will not be living in these shares.
Is there any reason why I would want world/other to have write or even execute permissions?
Could I even just drop that down to 660?

I've created a "filesharing" group and added root to it. Should I also create system users for each service then add those users to the group?

The problem is, each of the above services have different levels of granularity when it comes to specifying the permissions of created files.
Samba's got probably the most control, then ProFTPD, then finally Netatalk.

Anyone been down this road before?
Any other comments/suggestions?

Cheers, B


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
Samba File permissions for multiple groups in the same general path hmendoza Linux - General 1 11-06-2009 04:43 AM
Samba File Sharing permissions problem mjhermanso21 Linux - Server 1 07-01-2007 09:12 PM
Using Samba or Netatalk for Linux to Mac File Sharing maelstrom209 Linux - Networking 1 04-25-2006 12:59 PM
File Permissions, X and Groups mikemrh9 Linux - Software 3 09-08-2005 10:10 PM
samba sharing with groups Mr-TY Linux - Newbie 2 06-18-2003 03:09 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:55 PM.

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