I've recently installed proftp on my debian squeeze linode. It works so far but I'm facing several issues now.
In an FTP client such as FileZilla, I am able to access the server and download files without problems, but upload isn't prossible. Trying results in 550 test.txt: Permission denied
.
I'm also trying to download/upload directly from NetBeans, but NetBeans reports a 550 permission denied
message in both cases. See below the result when downloading a file.
Connection can be established successfully unless sub directories are specified in the settings.
220 ProFTPD 1.3.3a Server (Debian) [::ffff:178.79.184.96]
USER userftp
331 Password required for userftp
PASS ******
230 User userftp logged in
TYPE I
200 Type set to I
CWD /site.co.uk/public_html
550 /site.co.uk/public_html: No such file or directory
CWD /
250 CWD command successful
CWD site.co.uk
550 site.co.uk: No such file or directory
MKD site.co.uk
550 gwerks.vegetav.co.uk: Permission denied
QUIT
221 Goodbye.
The following is appended to the proftp.conf
file:
#VALID LOGINS
<Limit LOGIN>
AllowUser userftp
DenyALL
</Limit>
<Directory /srv/www/>
Umask 022 022
AllowOverwrite on
<Limit MKD STOR DELE XMKD RNEF RNTO RMD XRMD CWD>
AllowAll
</Limit>
</Directory>
chown -R (FTPUSER) /(path)/(to_your_ftp)/
Or in my case:
chown -R wordpress /home/wordpress/public_html