vsFTPd : download OK, upload not OK
Hello,
I notice that I can download files via FTP, but I can not upload files. Firewall (iptables) is completely disabled. Login with my user is no problem. The only thing I see in the vsftpd logfiles is : Code:
Mon Oct 10 14:46:40 2011 1 MY.IP.ADD.RESS 0 /file.conf.new b _ i r myuser ftp 0 * i Code:
drwxr-xr-x 2 myuser myuser 4096 Oct 10 15:47 mydirectory Code:
ftp> put file.conf What is wrong ? |
no write rights in the directory (so it appears)
check that first ;) |
Quote:
drwxr-xr-x 2 myuser myuser 4096 Oct 10 15:47 mydirectory |
r-xr-x it says.. you need to think from the vsftpd perspective, not the user owning the directory.
vsftpd has not writing rights. |
Quote:
I log in with a user, not with a service. I find your reason very odd. Nevertheless I have given all rights for user, group and other but still it does not work (as could be expected). |
It's not so odd as you might think... since ftp is a service, it was the first thing popping in my mind. (and some service require write access themselves, e.g. apache is one )
but, ok... here is another thought... Do you have write_enable in your vsftpd configuration file? |
Problem was with SElinux.
Thanks for your input. |
please mark the thread as solved if it is fixed...
my suggestion would be upgrading to scp/sshfs using keys if possible. |
All times are GMT -5. The time now is 02:09 AM. |