500 OOPS: cannot change directory:/home/user
FedoraForum.org - Fedora Support Forums and Community
Page 1 of 2 1 2 LastLast
Results 1 to 15 of 18
  1. #1
    Join Date
    Jun 2007
    Posts
    301
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    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

  2. #2
    Join Date
    Jun 2006
    Location
    Texas
    Age
    49
    Posts
    4,164
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    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 ~]#

  3. #3
    Join Date
    Jun 2007
    Posts
    301
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    That works. Thanks.

    Jim

  4. #4
    meow Guest
    I was after this same thing and it worked for me I run fedora 7

  5. #5
    Join Date
    Dec 2006
    Location
    Ohio
    Posts
    103
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    this is why I LOVE THIS GROUP!!!! had the same issue and once again....learned how to fix it

  6. #6
    skydriver Guest
    many thanks

  7. #7
    vbaala Guest

    thank a lot

    thanks for the solution.......

  8. #8
    Join Date
    Sep 2005
    Location
    Zena
    Posts
    47
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    good for me too, thank you

  9. #9
    Join Date
    Jul 2006
    Posts
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Good stuff... I'm running fc9 it worked for me also.

  10. #10
    Join Date
    Dec 2009
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    worked for me too

    Worked fine on Fedora 12, thnx.

  11. #11
    Join Date
    Nov 2007
    Location
    quebec
    Age
    44
    Posts
    86
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: 500 OOPS: cannot change directory:/home/user

    still a good solution for F13
    thank you fedoraforum

  12. #12
    Join Date
    Aug 2010
    Location
    QC, Canada
    Posts
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Talking Re: 500 OOPS: cannot change directory:/home/user

    Works great with F13

    Thank you FedoraForum !


  13. #13
    Join Date
    Dec 2010
    Posts
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: 500 OOPS: cannot change directory:/home/user

    Also works for F14...thanks!

  14. #14
    Join Date
    Apr 2011
    Location
    around earth
    Posts
    8
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Thumbs up Re: 500 OOPS: cannot change directory:/home/user

    Quote Originally Posted by marcrblevins
    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:

  15. #15
    Join Date
    Nov 2011
    Location
    NYC
    Posts
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    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

Page 1 of 2 1 2 LastLast

Similar Threads

  1. Replies: 1
    Last Post: 12th September 2009, 05:54 AM
  2. Replies: 0
    Last Post: 13th June 2009, 01:05 PM
  3. Change DEFAULT Home Directory
    By P4rD0nM3 in forum Using Fedora
    Replies: 8
    Last Post: 6th May 2008, 04:40 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •