ftp 500 OOPS: cannot change directory
Hello,
I try to ftp from my RH9.0 to a linux device which is running vsftpd, but there was an error of "500 OOPS: cannot change directory ...". Then I have go to the device using a serial cable to change access mode from drwx---- to 777 in both /home and /home/use login directory, then it allow me to login. Appreciate any help on how to fix this problem. Thank you. Jim |
Linux is a future :-)
:Pengy: my frend users home directory should be /var/www/userfolder.
you can change it in the /etc/passwd file. look! in the /etc/passwd file there is usrname /home/username simply edit usrname /var/www/username. then you will be able to change directory. I have redhat 9.0 too. everything works well but sendmail is a problem for me.. I will wait yor success :) |
Quote:
Erm no they shouldn't. |
I have the same problem here, I've googled for it but didn't find anything. Did you solve this? :)
|
SELinux issue...
Hi Guys,
I had the same problem, and I found out that disabling SELinux solved the problem (watch out for any security issue that might bring)... To disable SELinux, edit /etc/sysconfig/selinux and put it to 'disabled' (again, make sure you don't lower too much the security of your box)... Now, I'll try to see how to keep SELinux enabled (enforced, that is) and still allow the FTP server to work properly ;-) ! Dugroin. |
Quote:
did you ever figure out how to use ftp in this manner with having to disable SELinux? |
in fedora core 5 i believe this can be fixed by going to Security Level and Firewall then the SELinux tab. Then click modify SELinux Policy, ftp and make sure "Allow ftp to read/write in the user home directories" is checked.
Or, just use /usr/sbin/setsebool -P ftp_home_dir 1 That worked for me. |
Thanks to all who posted in this Thread, saved me having to search down an answer from other sites and modifying the SELinux policy worked for me. Now to learn more about SELinux :)
|
Just wanted to tell you thank you for you'r helpfull solusion...
FEDORA 5 WITH SELinux. |
Thx, this does work.
This got it for me also.
Thx. Duane |
My case similar as you, but not exactly , bcos nothing i can found in user home directly ... meaning, NO .bash_logout, .bash_profile, .bashrc, and .zshrc :confused:
i have no choice just delete and receate user account to fix it. hope this information can help you. ;) :newbie: |
Hello everybody,
I am not sure if this may help you out or not, but I was experiencing the same issue with Debian. As it would turn out the issue was related to a Kernel option that was disabled. Please let me know if you have had any other successes with other methods. Regards. |
Yes, this helped me too.
Thanks alot. :) |
Thank you so much
Fixed my problem. Really needed the server to backup my phone system, saved me from ton of work.
|
I'm using Fedora 7, problem was fixed with the suggestion of
su - /usr/sbin/setsebool -P ftp_home_dir 1 thanks for the help:). Linux forums are a lifesaver. |
All times are GMT -5. The time now is 10:57 PM. |