ProFTPd - 500 Permission denied - can't upload
I'm a linux newbie and it is my first time installing a server. I followed the The Perfect Setup - Ubuntu 6.06 LTS Server (Dapper Drake) guide with no problems.
The only problem is that the webserver is in /var/www and the default FTP upload directory is /home/admin... so basically I can't upload any website at all.
Looking through some documentation I changed my config file from this:
Then I changed to:
As a side note... I didn't install ISPConfig because I think I have to install it from my /var/www directory and I couldn't upload the files there. Is this correct?
Also I am not sure if I need it, I wan't this server for seting up an intranet, and the graphical control panel sounded good for a newbie like me.
This is my proftpd.conf file
# /etc/proftpd.conf -- This is a basic ProFTPD configuration file.
# To really apply changes reload proftpd after modifications.
ServerIdent on "FTP Server ready."
# Uncomment this if you are using NIS or LDAP to retrieve passwords:
# Uncomment this if you would use TLS module:
# Uncomment this if you would use quota module:
# Uncomment this if you would use ratio module:
# Port 21 is the standard FTP port.
# To prevent DoS attacks, set the maximum number of child processes
# to 30. If you need to allow more than 30 concurrent connections
# at once, simply increase this value. Note that this ONLY works
# in standalone mode, in inetd mode you should use an inetd server
# that allows you to limit maximum number of processes per service
# (such as xinetd)
Hey Falko, thanks for your help, however...
I did as you said, modified /etc/passwd and then ran chown admin /var/www
Now when I try to login to the FTP I get an error message telling me that is the wrong password for admin. I can login with the user admin anymore to the shell. And I tried setting the password again logged in as root, so I ran
passwd admin, and set a new password for admin, but it is still not working.
UPDATE -- apparently I missed a '/' and that was causing the problem. It's working now and I can upload files via FTP to /www/var
Thanks a lot for your help.
|All times are GMT +2. The time now is 10:55.|
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.