Fedora Linux Support Community & Resources Center
  #1  
Old 1st April 2008, 06:10 AM
Razorblade's Avatar
Razorblade Offline
Registered User
 
Join Date: Mar 2005
Location: Lake Constance, Germany
Age: 33
Posts: 115
Permissions for FTP access

Following problem:

I am running an FTP server. Every user's initial directory is /FTP
There are several directories within /FTP: A, B and C.

How is it possible that user Joe has read only access to directory A, while he's not able to see directories B and C.
User John can read/write to A and has read only access to B and C.
User Greg has read/write access to C and read only access to B and can not see A.

How can this be done?

What I thought was to define several groups:
Read_A
Write_A
Read_B
Write_B
[...]

And then assign those users to the corresponding groups. But what next? How can I assign more than one group to one directory?
Also I need a group e.g. ftp-admin that has r/w access to all those mentioned directories and can create/delete directories within /FTP.

No other user or anonymous is allowed to log in or see anything.

Using Fedora 8 i386 with proftp
__________________
  • Razor-Box: AMD Phenom II 945, 4096MB DDR3, MSI (AMD 870), AMD 4850 PCI-E, Fedora_13_x64
  • Server-Box: AMD Sempron 140, 2048MB DDR2, ASROCK (NVIDIA chipset), onboard graphics, CentOS 5.5 x64
  • Myth-Box: AMD X2 4850e, 4GB DDR2, ASUS M3N78-VM, MythDora 10 x64
Reply With Quote
  #2  
Old 2nd April 2008, 01:56 AM
nix4me's Avatar
nix4me Offline
Registered User
 
Join Date: Oct 2006
Posts: 86
The easiest way to do this, in my opinion, would be to use proftpd. Proftpd allows for setting very specific dir permissions in the config file. Take a look at the 'limit' parameter. It will allow you to set a stanza for each dir and then allow you to define which users have which access to each dir.

Look at the limit directive in the proftpd documentation and I think you will see the endless capability.
Reply With Quote
  #3  
Old 2nd April 2008, 12:56 PM
Razorblade's Avatar
Razorblade Offline
Registered User
 
Join Date: Mar 2005
Location: Lake Constance, Germany
Age: 33
Posts: 115
Thank you very much.
That did the trick.

RTFM
__________________
  • Razor-Box: AMD Phenom II 945, 4096MB DDR3, MSI (AMD 870), AMD 4850 PCI-E, Fedora_13_x64
  • Server-Box: AMD Sempron 140, 2048MB DDR2, ASROCK (NVIDIA chipset), onboard graphics, CentOS 5.5 x64
  • Myth-Box: AMD X2 4850e, 4GB DDR2, ASUS M3N78-VM, MythDora 10 x64
Reply With Quote
Reply

Tags
access, ftp, permissions

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Access Permissions dberberich Using Fedora 3 26th March 2009 10:33 AM
no access to folder even though permissions are right simta Using Fedora 9 28th January 2009 04:38 AM
usb access permissions normvcr Using Fedora 2 31st July 2006 07:50 AM
Denied cgi-bin access but permissions are correct doctorfish Servers & Networking 4 9th September 2005 05:32 AM
Firewall permissions access BiPolar Servers & Networking 5 27th March 2005 09:01 PM


Current GMT-time: 18:52 (Monday, 20-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat