LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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-25-2010, 05:47 PM   #1
Nasser Domingo
LQ Newbie
 
Registered: Jul 2010
Posts: 2

Rep: Reputation: 0
Question FTP '553 Could not create file' error


Hi there, could anyone please assist me.
I have created a virtual server using VMware and attempted to setup the FTP side on the server using vsftpd.

Searching this site, I found http://www.linuxquestions.org/questi...e-file-390569/

which states that there is a file with the same name in the directory.
My servers directories are however empty as below.

[root@gets-dev-form2 upload]# ls -all
total 16
drwxr-xr-x 2 root root 4096 Jul 23 21:10 .
drwxr-xr-x 4 root root 4096 Jul 23 21:10 ..
[root@gets-dev-form2 upload]#

Using FileZilla to FTP and upload files to the server, I get the error "553 Could not create file"

Could you please help?

Im not sure if I gave enough information, if not could I ask what information you require and I will be happy to provide it.

Thanking you in advance.

Nasser Domingo
 
Old 07-26-2010, 02:22 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
well the directory there is clearly owned by, and only writeable by, root. As such you're only going to be able to upload a file if you log in as root. You need to actually create a suitable upload directory, which at the very least would be world writable. There is a lot more subtlety to it than that in a fully configured system, but that's the starting point. Generally ftp would be running as a service account, and the upload directory would be owned by them, or the "nobody" user, and then it'd be set with rights of 777 to allow everyone to put and get files.
 
Old 08-02-2010, 07:04 AM   #3
Nasser Domingo
LQ Newbie
 
Registered: Jul 2010
Posts: 2

Original Poster
Rep: Reputation: 0
Ahh, thanks.

I did want the FTP to be private (ie: only root access)
What I did following your advice was, I changed the /usr/home | grep upload directory to upload:upload
This seemed to have resolved the issue.

A thousand thank you's
 
  


Reply



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
vsftpd Error 553 - Could not create file KimInWis Fedora 14 10-09-2013 11:43 AM
553 Could not create file ernestto Linux - Server 2 08-27-2009 10:16 AM
Email not getting through - 553 553 5.3.0 Error WorldBuilder Linux - Server 6 06-01-2008 12:13 AM
'553 Could not create file' in vsftpd FTP Server on CentOS 5 Fabian10 Linux - Server 2 11-26-2007 11:13 AM
ftp: 553 Could not create file. lothario Linux - Software 4 10-21-2006 06:56 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:18 PM.

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
Open Source Consulting | Domain Registration