-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PermissionError: [Errno 13] Permission denied: 'logs' #257
Comments
I think we have the same issue. Our
|
Thanks for opening. @samruddhikhandale have you seen any similar errors recently? |
I'd like to pile on and say that my project has also started failing recently, also with permission errors when trying to write files in the checkout directory. Removing remoteUser=vscode from devcontainer.json did not help. |
I also meant to say that the failure is the same with devcontainers/[email protected] or @0.3. I suspect something changed with the underlying GitHub runner. |
Thanks for looping me in. It definitely looks like an issue with the upstream action runners. actions/runner-images#8160 and actions/runner-images#8157 looks relevant. Does following instructions from actions/runner-images#8160 (comment) fix your issues? |
Worked like a charm! Thanks for finding that! Is this something that's more permanently resolvable on the devcontainers side, or are we stuck with these workarounds long-term? |
We have devcontainers/images#723 open on the images side which tracks this. We will definitely have some way out soon, then you won't have to use these workarounds. Thank you for your patience! |
Crpss-posting from devcontainers/images#723 (comment)
|
Newer ubuntu (action runner) images were released last week with actions/runner-images#8201 changes. This has fixed the ID problems we have been seeing. Also, on the CLI side, we have devcontainers/cli#635 opened which fixes microsoft/vscode-remote-release#7284 Feel free to reopen if the issue resurfaces. |
v0.3 Action was working till about a week ago. Now container fails to pass the postcreatecommand after build with the error
PermissionError: [Errno 13] Permission denied: 'logs'
[2023-08-28T17:44:17.307Z] postCreateCommand failed with exit code 2. Skipping any further user-provided commands.
I've tried pinning it to the latest
devcontainers/[email protected]
but to no avail.Our devcontainer.json:
Workflow:
The text was updated successfully, but these errors were encountered: