Click to See Complete Forum and Search --> : ProFTPd simple problem!!??


Razorwyre
07-18-2002, 11:41 AM
I've been fooling with this thing all morning and it just won't work for me. Can someone tell me what I'm doing wrong?

I've got ProFTPd running on a SuSE 8 box. I have Apache as well, hosting a couple websites. I want a 'webadmin' user (already created) to be able to ftp into the box, be automatically chrooted into the /usr/local/bin/apache/htdocs/ directory (this part is working) and I want them to have full permissions to manipulate files in this directory and subdirs. They should be able to delete, add new files, chmod, whatever.

I've got all of that working except the last bit. No matter what I try, it denies every attempt to manipulate any of the files there. I can't upload new files, I can't delete existing files, I can't do anything.

Here's a copy of the proftpd.conf I'm using:

<Global>
AllowOverwrite on
MaxLoginAttempts 5
</Global>
UseReverseDNS off
RootLogin off
AllowOverwrite on
ServerAdmin razor@nebula2o.com
ServerName Gandalf
DefaultRoot /usr/local/apache/htdocs/
ShowDotFiles on
<Limit CWD MKD RNFR DELE RMD RETR STOR SITE_CHMOD READ WRITE DIRS ALL>
Allow all
AllowAll
</Limit>

chikn
07-18-2002, 01:16 PM
Who owns all the files in that directory. Probably apache. If thats the case then you might be able to add the webadmin user to the apache group or change ownership of all the files in htdocs.