Skip to content

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

Open
Xesau wants to merge 1 commit into
h3imdall:developmentfrom
Xesau:patch-1
Open

Fix #352: Permission denied when creating a folder#418
Xesau wants to merge 1 commit into
h3imdall:developmentfrom
Xesau:patch-1

Conversation

@Xesau
Copy link
Copy Markdown

@Xesau Xesau commented May 25, 2021

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.

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/<user>/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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant