LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 04-20-2007, 07:13 PM   #1
dfw123
Member
 
Registered: Apr 2007
Posts: 45

Rep: Reputation: 15
error 500 can not change dir


Hello!

I have fedora 6 with vsftp. Could anyone tell me how to configure vsftpd.conf for user1 and user2 to ftp their home dir for r/w and a share folder say /home/ftp only read? I looked the forum and search website but confused. I know anonymous ftp, I disable it. I want local user to ftp. I know default ftp dir is /var/ftp,can I change it to, for example /var/www/home or /home/ftp?

Here is what I have done:
1.create user1,user2 and home dir in /home/user1,/home/user2
2.create group: ftpusers includes user1,user2
3.change permission: -drwxr-wr-w /home/ftp
drwx------ /home/user1
drwx------ /home/user2


When login as user1, error 500 can not change dir /home/user1 connection closed

any help?

Last edited by dfw123; 04-24-2007 at 01:59 AM.
 
Old 04-20-2007, 07:40 PM   #2
b166
Member
 
Registered: Apr 2007
Location: Ft Lauderdale, FL
Distribution: Ubuntu, RHEL, CentOS, Fedora
Posts: 33

Rep: Reputation: 15
It seems the home directory permissions are still incorrect even though from your post they look fine. Try to switch users from shell with "su - user1". Does this report a similar error?
 
Old 04-21-2007, 11:09 PM   #3
dfw123
Member
 
Registered: Apr 2007
Posts: 45

Original Poster
Rep: Reputation: 15
Hello!

This is during login ftp after typing password,then see this error 500 message.

any suggestion?

Last edited by dfw123; 04-24-2007 at 01:57 AM.
 
Old 04-23-2007, 01:58 PM   #4
dfw123
Member
 
Registered: Apr 2007
Posts: 45

Original Poster
Rep: Reputation: 15
I looked other post. I solve the problem now.
 
  


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
ftp 500 OOPS: cannot change directory yhus Linux - Networking 24 03-24-2013 09:41 PM
Vsftpd - 500 OOPS: Cannot change directory amon Linux - Networking 3 05-31-2006 11:17 AM
Additionally, a 500 Internal Server Error error was encountered while trying to use a ukrainet Linux - General 10 06-24-2005 02:23 AM
Change mount cdrom dir desi_nerd Red Hat 2 04-16-2005 01:06 PM
change dir alaios Linux - General 5 03-15-2004 05:41 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 05:17 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
Open Source Consulting | Domain Registration