LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   FTP/SFTP write access denied on Ubuntu Server (https://www.linuxquestions.org/questions/linux-newbie-8/ftp-sftp-write-access-denied-on-ubuntu-server-741014/)

prudens 07-18-2009 09:42 AM

FTP/SFTP write access denied on Ubuntu Server
 
Hello,

I have installed vsftpd and I configured vsftpd.conf with

Code:

# Allow anonymous FTP? (Beware - allowed by default if you comment this out).
#anonymous_enable=YES
#
# Uncomment this to allow local users to log in.
local_enable=YES
#
# Uncomment this to enable any form of FTP write command.
write_enable=YES

Code:

553 Could not create file. 
vsftpd.conf - 0 bytes transferred 
PASV 
Transfer time: 00:00:02 
227 Entering Passive Mode (38,102,48,78,194,172) 
LIST 
Connect socket #5440 to 38.102.48.78, port 49836...

Read out of CoreFTP when I attempt to upload a file...

My FTP login is non-root.

How come I still can't write to /var/www folder? In fact I can't write to any folders.

Please help! This is urgent. Thank you in advance!

If you can AIM me or MSN me:
Prudentissimus1, arnold.the.governator@hotmail.com

Thanks.

acid_kewpie 07-18-2009 10:50 AM

and ftp server still has to obey the file system rights, unless you've changed to ownership rights to /var/www of course you can't write to it with a normal user. What do your server logs say about what you tried to do?

Also you mention sftp in the title, yet not once in the thread... did you mean ftps via vsftpd?

In future, don't use words like urgent. don't include AIM or MSN details, and don't print your email address unless you just want to be spammed.


All times are GMT -5. The time now is 09:56 AM.