Natizyskunk / vscode-sftp

Super fast sftp/ftp extension for VS Code
Other
398 stars 77 forks source link

Preserves permision modes from the original files transferred #303

Open youxioanru11 opened 1 year ago

youxioanru11 commented 1 year ago

when I uploadload a file(mode 744) from local to remote, the mode of the remote file is 644 Firstly, I thought it was caused by the umask of the server, but I checked the default umask of both client and server are 0022, maybe enable the option of sftp can fix the problems?

SFTP(1) -p Preserves modification times, access times, and modes from the original files transferred.

levmckinney commented 1 year ago

This would be very helpful! I'm running into the same problem.