Results 1 to 10 of 14
Greetings,
I'm trying to use vsftp to upload some webcam images from my Windows box (there the cam is connected) to my Fedora box on my local lan. The Fedora ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 04-16-2005 #1Just Joined!
- Join Date
- Apr 2005
- Posts
- 7
FTP 550 error with vsftp
Greetings,
I'm trying to use vsftp to upload some webcam images from my Windows box (there the cam is connected) to my Fedora box on my local lan. The Fedora box runs Apache and, naturally, my web site.
I can connect via Samba but when trying to connect to any directory but my home directory via ftp, I get an error like this:
Opening Directory: /var/www/html/modules/WebCam/data
Send : CWD
Recv : 550 Failed to change directory.
Send : MKD
Recv : 550 Create directory operation failed.
Create directory operation failed.
Now, I have permissions on the directory in question. The problem seems to be in the "change directory" part of things. It matters not which directory I specify. The only way I can ftp in is to specify no directory at all at which point I wind up in my home dir.
Any help?
Devin
- 04-16-2005 #2Linux Newbie
- Join Date
- Mar 2005
- Posts
- 230
In order to change to a directory it must first exist, and also have execute permissions. Check your case. If you are trying to change to "/var/www/html/modules/WebCam/data" but it is actually "/var/www/html/modules/webcam/data" or "/var/www/html/modules/WebCam/Data", then you will fail to change into the directory. Case matters.
To make sure this is not a permissions problem, login to the linux system and execute the following command:
chmod 777 /var/www/html/modules/WebCam/data
- 04-16-2005 #3Just Joined!
- Join Date
- Apr 2005
- Posts
- 7
The problem is not permissions or case sensitivity. I've got a little more experience than that.
Originally Posted by SilentRage
The problem is that I cannot change to ANY directory other than my default home. And I only get to my default home when I specify no directory at all. AND when I get to my home directory, I get no listing.
Curious, no?
Devin
- 04-16-2005 #4Linux Newbie
- Join Date
- Mar 2005
- Posts
- 230
Sounds like we're going to spend quite a bit of time debugging. First off, could you put your vsftpd.conf in a website directory someplace so that I can see it? Also, do you see anything interesting in your vsftpd log file? The logfile may exist in either of the following locations:
/etc/logrotate.d/vsftpd.log
/var/log/vsftpd.log
- 04-16-2005 #5Just Joined!
- Join Date
- Apr 2005
- Posts
- 7
http://www.devinbaines.ca/temp
Originally Posted by SilentRage
- 04-16-2005 #6Linux Newbie
- Join Date
- Mar 2005
- Posts
- 230
should've looked more closely at the logrotate.d file. That's just a kind of script. Do you see a /var/log/vsftpd.log?
- 04-17-2005 #7Just Joined!
- Join Date
- Apr 2005
- Posts
- 7
Yes, it's a 0 byte file. I stopped vsftpd but am not sure how to get at the log as it remains at 0 bytes.
Originally Posted by SilentRage
- 04-17-2005 #8Linux Newbie
- Join Date
- Mar 2005
- Posts
- 230
That's ok, I've been reading more of the vsftpd configuration man page today, and I figure that the log wouldn't have anything useful anyway, unless we turned on debugging or something. What is the user's home directory? If you aren't confortable with answering that question in a public forum, then feel free to pm me.
- 04-18-2005 #9Just Joined!
- Join Date
- Apr 2005
- Posts
- 7
PM not working for some reason.
Originally Posted by SilentRage
Commented out the requested line.
Location of vsftpd.conf: /etc/vsftpd/vsftpd.conf
- 04-18-2005 #10Linux Newbie
- Join Date
- Mar 2005
- Posts
- 230
Actually, I got the PM twice, and a email notification of a PM like 7 times. heh. So anyway, did that help things?



