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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
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 thechdir
call.Regards,
Dennis