vscode-remote-release icon indicating copy to clipboard operation
vscode-remote-release copied to clipboard

EACCESS error when changing devcontainer-lock.json file

Open alexr00 opened this issue 3 years ago • 4 comments

Testing #8403

I'd already made other successful changes to devcontainer-lock.json before this point, so I don't know why I only got the error now.

Failed to save 'devcontainer-lock.json': Unable to write file 'vscode-remote://dev-container+7b22766f6c756d654e616d65223a22616e61636f6e6461222c22666f6c646572223a22616e61636f6e6461227d/workspaces/anaconda/.devcontainer/devcontainer-lock.json' (NoPermissions (FileSystemError): Error: EACCES: permission denied, open '/workspaces/anaconda/.devcontainer/devcontainer-lock.json')

alexr00 avatar Apr 26 '23 09:04 alexr00

Rebuilding didn't let me save. I had to create a new dev container to finish testing.

alexr00 avatar Apr 26 '23 09:04 alexr00

It looks like the user inside the dev container did not have the same access permissions as the local user. How did you create the dev container?

chrmarti avatar May 02 '23 08:05 chrmarti

I used command "Dev Containers: New Dev Container...".

alexr00 avatar May 02 '23 08:05 alexr00

This access error started happening for every file in my repository since version 0.292.0. I just reverted to 0.288.1 and it's fixed immediately (not even an image rebuild was required).

valente avatar May 17 '23 15:05 valente