LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-12-2009, 06:29 AM   #1
Klausmedk
LQ Newbie
 
Registered: Mar 2009
Location: Denmark
Posts: 11

Rep: Reputation: 0
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
 
Old 03-30-2009, 06:07 AM   #2
da1
Member
 
Registered: May 2007
Distribution: FreeBSD
Posts: 113

Rep: Reputation: 16
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
 
Old 04-01-2009, 01:06 PM   #3
da1
Member
 
Registered: May 2007
Distribution: FreeBSD
Posts: 113

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


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
FTP File Permissions Hambone_20003 Linux - Software 3 07-26-2007 06:24 PM
Samba domain member server (DMS) group permissions in network with a Samba PDC srosa Linux - Networking 0 05-01-2006 05:55 PM
ftp changes file permissions! seran Linux - General 2 07-13-2005 07:34 AM
File/Folder Permissions with FTP scottpioso Linux - Security 8 03-12-2004 02:19 PM
locking a usage policy file/ftp file permissions gbow Linux - Newbie 0 02-16-2004 05:35 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:42 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
Open Source Consulting | Domain Registration