LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   error 500 can not change dir (https://www.linuxquestions.org/questions/linux-server-73/error-500-can-not-change-dir-547724/)

dfw123 04-20-2007 07:13 PM

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?

b166 04-20-2007 07:40 PM

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?

dfw123 04-21-2007 11:09 PM

Hello!

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

any suggestion?

dfw123 04-23-2007 01:58 PM

I looked other post. I solve the problem now.


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