LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 08-16-2007, 10:37 PM   #1
grugli
LQ Newbie
 
Registered: Dec 2004
Location: Borgarnes, Iceland
Distribution: Debian
Posts: 8

Rep: Reputation: 0
Question vsftpd gives error 550, says goodbye.


Alrighty. I was just starting to configure my new Debian box, adding users etc but i hit a bit of a wall.

I'm using vsftpd and it's configured to chroot local users to their home directories.
For some reason it works perfectly for my own account (stebbiv) but for other accounts it's not the same. They have can't access their home directory but they can access the public_html directory within it (a public directory).

Here are some examples of login attempts
Code:
mjallhvit:~ stebbiv$ ftp ftp://stebbiv@hostname/
Connected to hostname.
220 (vsFTPd 2.0.5)
331 Please specify the password.
Password:
230 Login successful.
Remote system type is UNIX.
Using binary mode to transfer files.
200 Switching to Binary mode.
ftp> ls
229 Entering Extended Passive Mode (|||56330|)
150 Here comes the directory listing.
drwxr-xr-x    2 1000     1000         4096 Aug 16 02:59 www
226 Directory send OK.
ftp> exit
221 Goodbye.
As you can see, my user account can connect to the machine and it shows a bit of a directory listing as well. Everything is okay with that.

Code:
mjallhvit:~ stebbiv$ ftp ftp://maggielvar@hostname
Connected to hostname.
220 (vsFTPd 2.0.5)
331 Please specify the password.
Password:
230 Login successful.
Remote system type is UNIX.
Using binary mode to transfer files.
200 Switching to Binary mode.
550 Failed to change directory.
221 Goodbye.
Here, maggielvar connects to the machine and logs in like he should but he's thrown out with a 550 error for some reason.

Code:
mjallhvit:~ stebbiv$ ftp ftp://maggielvar@hostname/public_html/
Connected to hostname.
220 (vsFTPd 2.0.5)
331 Please specify the password.
Password:
230 Login successful.
Remote system type is UNIX.
Using binary mode to transfer files.
200 Switching to Binary mode.
250 Directory successfully changed.
ftp> ls
229 Entering Extended Passive Mode (|||17755|)
150 Here comes the directory listing.
226 Directory send OK.
ftp> exit
221 Goodbye.
Now, maggielvar attempts to access his public_html directory, he logs in and can see an empty directory listing.

So is this a permission problem or is there anything wrong about my configuration?
Both the config file and the permissions seem to be okay at least.
 
Old 08-17-2007, 10:33 AM   #2
pk21
Member
 
Registered: Jun 2002
Location: Netherlands - Amsterdam
Distribution: RedHat 9
Posts: 549

Rep: Reputation: 30
check the rights on the users home directory
 
  


Reply

Tags
debian, ftp, vsftpd


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.conf - 550 error need help zaoka Linux - Software 3 08-03-2005 12:10 AM
vsftpd error 550 on suse 9.1 yuun Linux - Networking 0 07-15-2004 04:52 PM
getting error 550 from vsftpd monty Linux - Software 3 06-08-2004 04:22 PM
Vsftpd help- 550 error hda Linux - Networking 1 10-15-2003 02:26 PM
vsftpd 550 upload error rusium Linux - Networking 1 05-20-2003 02:30 PM


All times are GMT -5. The time now is 07:26 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration