LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-18-2009, 10:42 AM   #1
prudens
Member
 
Registered: Jul 2009
Posts: 52

Rep: Reputation: 15
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.

Last edited by prudens; 07-18-2009 at 10:46 AM.
 
Old 07-18-2009, 11:50 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Need help configuring permissions to allow FTP access via SSH/SFTP. dhupke Linux - General 5 06-12-2007 01:26 PM
FTP Server: STOR /somefile: 550 Access is denied robbbert Linux - Server 5 05-11-2007 05:10 AM
Samba write access denied Ab3n Linux - Server 9 04-20-2007 06:04 PM
Partition: write access denied linmix Linux - Software 7 10-08-2005 07:11 PM
Write access denied in Vi Hockeyfan Linux - Software 2 07-17-2005 12:03 AM


All times are GMT -5. The time now is 11:45 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration