giampaolo / pyftpdlib

Extremely fast and scalable Python FTP server library
MIT License
1.68k stars 264 forks source link

`AbstractedFS.chdir` should not use os.chdir() #475

Open giampaolo opened 6 years ago

giampaolo commented 6 years ago

See: https://github.com/giampaolo/pyftpdlib/issues/474#issuecomment-416904769

Basically we don't want to change process cwd, ever. That may play nice when using a pure-async FTPServer but not when using a ThreadedFTPServer or in general when threads are used.