Skip to content

Preserve the locally requested mode when the remote SFTP server uses a different umask - #387

Open
pyth wants to merge 1 commit into
libfuse:masterfrom
pyth:master
Open

Preserve the locally requested mode when the remote SFTP server uses a different umask#387
pyth wants to merge 1 commit into
libfuse:masterfrom
pyth:master

Conversation

@pyth

@pyth pyth commented Sep 12, 2026

Copy link
Copy Markdown

If the umask on the server side is set to something different from the local umask, the newly created directories and files can have different permissions than what the user intended.

In my case I was trying to install packages using npm on an sshfs mount, which failed with EACCES errors.
This resolves the problem.

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