Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Servers & Networking
FedoraForum Search

Forgot Password? Join Us!

Servers & Networking Discuss any Fedora server problems and Networking issues such as dhcp, IP numbers, wlan, modems, etc.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 24th July 2007, 02:45 AM
jim1944 Offline
Registered User
 
Join Date: Jun 2007
Posts: 251
500 OOPS: cannot change directory:/home/user

I'm trying to set up vsftpd on Fedora 7. When I try to ftp from my Windows XP computer to my Fedora computer I m prompted for user id and password but then get
500 OOPS: cannot change directory:/home/user
Login failed.

"user" is my user id on the Fedora computer.

I've gotten it to work by disabling SELinux but I'd rather find a less drastic solution.

Any ideas? Do I have to switch to some other ftp daemon that is compatible with SELinux? If so, what?

Thanks
Jim
Reply With Quote
  #2  
Old 24th July 2007, 03:29 AM
marcrblevins's Avatar
marcrblevins Offline
Registered User
 
Join Date: Jun 2006
Location: Texas
Age: 42
Posts: 4,168
Code:
su -
getsebool -a | grep ftp
setsebool -P ftp_home_dir on
getsebool -a | grep ftp
My result:
[root@kiriyamablevins ~]# getsebool -a | grep ftp
allow_ftpd_anon_write --> on
allow_ftpd_full_access --> off
allow_ftpd_use_cifs --> off
allow_ftpd_use_nfs --> off
ftp_home_dir --> on
httpd_enable_ftp_server --> off
[root@kiriyamablevins ~]#
Reply With Quote
  #3  
Old 24th July 2007, 12:29 PM
jim1944 Offline
Registered User
 
Join Date: Jun 2007
Posts: 251
That works. Thanks.

Jim
Reply With Quote
  #4  
Old 5th October 2007, 03:43 PM
meow Offline
Registered User
 
Join Date: Oct 2007
Location: Buenos Aires, Argentina
Age: 29
Posts: 1
I was after this same thing and it worked for me I run fedora 7
Reply With Quote
  #5  
Old 27th December 2007, 07:23 PM
North323 Offline
Registered User
 
Join Date: Dec 2006
Location: Ohio
Posts: 103
this is why I LOVE THIS GROUP!!!! had the same issue and once again....learned how to fix it
Reply With Quote
  #6  
Old 3rd January 2008, 04:34 AM
skydriver Offline
Registered User
 
Join Date: Dec 2007
Posts: 1
many thanks
Reply With Quote
  #7  
Old 16th December 2008, 01:22 PM
vbaala Offline
Registered User
 
Join Date: Dec 2008
Posts: 1
thank a lot

thanks for the solution.......
Reply With Quote
  #8  
Old 6th January 2009, 04:02 PM
Duilio Offline
Registered User
 
Join Date: Sep 2005
Location: Zena
Posts: 47
good for me too, thank you
Reply With Quote
  #9  
Old 10th July 2009, 08:17 AM
aishes Offline
Registered User
 
Join Date: Jul 2006
Posts: 1
Good stuff... I'm running fc9 it worked for me also.
Reply With Quote
  #10  
Old 5th February 2010, 01:49 PM
daDrJohn Offline
Registered User
 
Join Date: Dec 2009
Posts: 2
windows_xp_2003firefox
worked for me too

Worked fine on Fedora 12, thnx.
Reply With Quote
  #11  
Old 29th June 2010, 12:39 AM
hal9000a's Avatar
hal9000a Offline
Registered User
 
Join Date: Nov 2007
Location: quebec
Age: 37
Posts: 68
windows_7firefox
Re: 500 OOPS: cannot change directory:/home/user

still a good solution for F13
thank you fedoraforum
Reply With Quote
  #12  
Old 13th August 2010, 07:00 PM
RickLeLoup Offline
Registered User
 
Join Date: Aug 2010
Location: QC, Canada
Posts: 1
windows_7firefox
Talking Re: 500 OOPS: cannot change directory:/home/user

Works great with F13

Thank you FedoraForum !

Reply With Quote
  #13  
Old 21st December 2010, 07:56 PM
lhomsher Offline
Registered User
 
Join Date: Dec 2010
Posts: 1
windows_xp_2003chrome
Re: 500 OOPS: cannot change directory:/home/user

Also works for F14...thanks!
Reply With Quote
  #14  
Old 16th June 2011, 02:14 AM
iamceo Offline
Registered User
 
Join Date: Apr 2011
Location: around earth
Posts: 8
linuxfirefox
Thumbs up Re: 500 OOPS: cannot change directory:/home/user

Quote:
Originally Posted by marcrblevins View Post
Code:
su -
getsebool -a | grep ftp
setsebool -P ftp_home_dir on
getsebool -a | grep ftp
My result:
[root@kiriyamablevins ~]# getsebool -a | grep ftp
allow_ftpd_anon_write --> on
allow_ftpd_full_access --> off
allow_ftpd_use_cifs --> off
allow_ftpd_use_nfs --> off
ftp_home_dir --> on
httpd_enable_ftp_server --> off
[root@kiriyamablevins ~]#
thanks guys.... but do you have an idea how to link my ftp files to www domain?
__________________
:dis::(:Y:):C:confused::eek::mad::rolleyes::cool:: p;):doh::D:doh:;):p:cool::rolleyes::mad::eek::conf used::C:):Y:(:dis::(:Y:):C:confused::eek::mad::rol leyes::cool::p;):doh::D:doh:;):p:cool::rolleyes::m ad::eek::confused::C:):Y:(:dis::(:Y:):C:confused:: eek::mad::rolleyes::cool::p;):doh::D:doh:;):p:cool ::rolleyes::mad::eek::confused::C:):Y:(:dis:
Reply With Quote
  #15  
Old 17th November 2011, 04:30 PM
dshansonia Offline
Registered User
 
Join Date: Nov 2011
Location: NYC
Posts: 1
linuxfirefox
Re: 500 OOPS: cannot change directory:/home/user

Thanks for the solution to vsftpd error message:
500 OOPS: cannot change directory
su -
getsebool -a | grep ftp
setsebool -P ftp_home_dir on
getsebool -a | grep ftp

also works on CentOS 6
Reply With Quote
Reply

Tags
500, change, directory or home or user, oops

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Dreaded vsftp "500 OOPS: cannot change directory" error *Not SELinux Related* DougWare Servers & Networking 1 12th September 2009 05:54 AM
ftp in Fedora Core 10, 500 OOPS: cannot change directory: /root bghayad Using Fedora 0 13th June 2009 01:05 PM
Change DEFAULT Home Directory P4rD0nM3 Using Fedora 8 6th May 2008 04:40 AM


Current GMT-time: 23:32 (Saturday, 18-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat