Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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
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
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 ;-) !
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.
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.
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
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
i have no choice just delete and receate user account to fix it.
hope this information can help you.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.