Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 07-25-2010, 06: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

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, 03:22 AM   #2
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977
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, 08: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


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

All times are GMT -5. The time now is 02:46 PM.

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