vscode-sftp
vscode-sftp copied to clipboard
change ownership of uploaded files?
The files that are uploaded are uploaded as the SSH user. I'd like to change the ownership of the files to a different user/group.
Would it be possible to execute a command after the upload is finished or is there another way of doing that?
Does this project help you?
- [x] Yes. SFTP IS AWESOME!
This is important for me too. My work insists that all files must be under "dev" groups, but whenever I send files to server this extension put my user as group on the file, which is making me went over everything I have done and change group on every file. If there would be a way to automatically put files I save under a certain group, I would be very happy.
To solve my own Issue I set useTempFile option to false in sftp.json and permission stopped changing.