Menu

"Can't change directory: Bad file descriptor" error and program ends

2019-05-13
2019-05-13
  • Thomas Laane

    Thomas Laane - 2019-05-13

    When I start uftpd the program stop and I get "Can't change directory: Bad file descriptor".
    I am using the latest version 4.9.10 on a linux system.
    The recent changes regarding the chdir might be the problem,
    The manual for chdir says: On success, zero is returned.
    It is code zero is error.

     
  • Dennis Bush

    Dennis Bush - 2019-05-13

    Thomas,

    Yes, this is a problem. I'll issue a fix for this. In the meantime, you can work around this by using the -d option to run the process in the foreground which skips the chdir call.

    Regards,
    Dennis

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.