Remote-Container uses incorrect umask 0022 and file permission 644 with vscode(non root) user. #6118
Labels
containers
Issue in vscode-remote containers
feature-request
Request for new features or functionality
Milestone
VS Code remote-container is using an umask 0022. Is this expected behavour?
I am using the
vscode
user in the remote container. When I create a file from python code or terminal, file permission is set as 644/umask 0022/. I want files to have permission 664 /umask 0002/. Since I am not using root user, shouldn't the vscode use umask 0002? It seems like a bug.In my case, files need to have permission 664 in the mounted directory which is shared among multiple users. I have created file in container volume and mounted directory. Both cases have permission 644.
Steps to Reproduce:
Does this issue occur when you try this locally?: No
Does this issue occur when you try this locally and all extensions are disabled?: No
The text was updated successfully, but these errors were encountered: