Skip to content
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

[bug] Error: EACCES: permission denied, open '/__w/_temp/_runner_file_commands/set_output #640

Open
EvanCarroll opened this issue Nov 6, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@EvanCarroll
Copy link

What happened?

I'm getting this error

Error: EACCES: permission denied, open '/__w/_temp/_runner_file_commands/set_output_d2205233-0bbe-4051-bbc9-e5172c1bd80c'

With this stanza

      - name: Upload Artifacts
        uses: actions/upload-artifact@v4
        with:
          name: openapi-dist
          path: /home/redocly/redocly-build/dist/
          overwrite: true

Full log:

Run actions/upload-artifact@v4
/usr/bin/docker exec  2da4b0ca19a4ab8bcdfa7a4e666de0f7084a1ffd15a57aede7024828a3d136f4 sh -c "cat /etc/*release | grep ^ID"
With the provided path, there will be [12](https://github.com/webpros-cpanel/wp2-openapi/actions/runs/11694984758/job/32569637796#step:5:13) files uploaded
Artifact name is valid!
Root directory input is valid!
Beginning upload of artifact content to blob storage
Uploaded bytes 3405497
Finished uploading artifact content to blob storage!
SHA256 hash of uploaded artifact zip is 77a15ed64[13](https://github.com/webpros-cpanel/wp2-openapi/actions/runs/11694984758/job/32569637796#step:5:14)9d3613f0dd23ee751fcf01c3cceee7b6c25986258f65720a68185
Finalizing artifact upload
Artifact openapi-dist.zip successfully finalized. Artifact ID 2[14](https://github.com/webpros-cpanel/wp2-openapi/actions/runs/11694984758/job/32569637796#step:5:15)9821923
Artifact openapi-dist has been successfully uploaded! Final size is 3405497 bytes. Artifact ID is 2149821923
Error: EACCES: permission denied, open '/__w/_temp/_runner_file_commands/set_output_d2205233-0bbe-4051-bbc9-e5[17](https://github.com/webpros-cpanel/wp2-openapi/actions/runs/11694984758/job/32569637796#step:5:18)2c1bd80c'

What did you expect to happen?

I expected it to work.

How can we reproduce it?

Conditions are above. Not sure if anything else is required.

Anything else we need to know?

No response

What version of the action are you using?

v4

What are your runner environments?

linux

Are you on GitHub Enterprise Server? If so, what version?

No response

@EvanCarroll EvanCarroll added the bug Something isn't working label Nov 6, 2024
@EvanCarroll
Copy link
Author

This sounds like a duplicate of this bug #542

But is this serious, you don't support containers running non-root processes?

@EvanCarroll
Copy link
Author

As reported elsewhere, this is bizarre to me, works fine with @V3. This needs to be fixed in V4. What a huge regression.

Starting artifact upload
For more detailed logs during the artifact upload process, enable step-debugging: https://docs.github.com/actions/monitoring-and-troubleshooting-workflows/enabling-debug-logging#enabling-step-debug-logging
Artifact name is valid!
Container for artifact "openapi-dist" successfully created. Starting upload of file(s)
Total size of all the files uploaded is 3404298 bytes
File upload process has finished. Finalizing the artifact upload
Artifact has been finalized. All files have been successfully uploaded!

The raw size of all the files that were specified for upload is 37053942 bytes
The size of all the files that were uploaded is 3404298 bytes. This takes into account any gzip compression used to reduce the upload size, time and storage

Note: The size of downloaded zips can differ significantly from the reported size. For more information see: https://github.com/actions/upload-artifact#zipped-artifact-downloads 

Artifact openapi-dist has been successfully uploaded!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant