LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   File permissions on a samba+ftp server (https://www.linuxquestions.org/questions/linux-software-2/file-permissions-on-a-samba-ftp-server-711013/)

Klausmedk 03-12-2009 06:29 AM

File permissions on a samba+ftp server
 
Hello!

I'm in the process of settings up a file server (NAS) at home with Ubuntu Server 8.10.

I want my users to be able to access shared files via samba, ftp (proftp) or conventional ssh login.

I've set up the files to be shared under /shares/share1, /shares/share2 etc.

I would like to be able to grant users R, RW or no access to one or more shares.

I figured that controlling access via normal filepermissions does not provide adequate flexibility as some need full access, some need read only access and some have no access at all.

I figured that the only way to achieve the flexibility i need is to use ACL. Is that also what you guys think?
I would like to hear how other people have configured such a set-up as I'm surely not the only one having such a home file server.

regards
Klaus

da1 03-30-2009 06:07 AM

I configured mine (FreeBSD) like so:
samba with acl module
acl on a slice (partition), dir basis.

still working on a way for the ftp thinghy; was thinking some combination of pure-ftpd with ldap (ldap would provide dir access wich will be set by OS ACL). or something similar. Am not quite in the clear with this one just yet, so more reading is required

da1 04-01-2009 01:06 PM

track this thread as I figure some stuff out and explain it also.
http://daemonforums.org/showthread.php?t=3050


All times are GMT -5. The time now is 10:18 PM.