[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] Proftpd config help needed



Simon Billis wrote:
> 
> Hello,
> 
> I need some help with the proftpd.conf file. I'm wanting to do the following:
> 
> Have anonymous access to my main ftp site with read only access.
> Allow one user other than admin/root to have write access to a specific directory in /home/sites/home/ftp


I don't think you want to try and accomplish this through the
proftpd.conf.  The easiest approach would be to setup a common
group.

In /etc/group:
ftpgroup::97:user1,user2

Then set permissions on the folder to be:
drwxrwxr-x    2 admin   ftpgroup    1024  Aug 25 10:03 directory/

chmod 775 directory
chown admin.ftpgroup directory

To learn a little more about groups, check out:

http://www.njnet.edu.cn/info/ebook/os/linux/lsg16.htm#E68E92

HTH
Jeff
-- 
Jeff Lovell
Cobalt Networks, Inc.