h3imdall / ftp-remote-edit

Edit files on ftp servers with Atom editor and without a workspace.
MIT License
178 stars 26 forks source link

Fix #352: Permission denied when creating a folder #418

Open Xesau opened 3 years ago

Xesau commented 3 years ago

When SFTP does not have permission to list a folder, but does have access to subsequent folders, which is very often the case (e.g. mkdir /home//mynewfolder but no permission to ls /home), creating the folder fails. This change keeps trying to create a the folder in the next folder even if it doesn't have access to the current folder.