-
Notifications
You must be signed in to change notification settings - Fork 710
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
EACCES: permission denied, scandir #192
Comments
any updates here?? |
Same issue here when trying to include a Postgres Docker volume: - uses: actions/upload-artifact@v2
if: ${{ failure() }}
with:
name: my-stuff
path: stuff Run actions/upload-artifact@v2
Error: EACCES: permission denied, scandir '/home/runner/work/repo-name/repo-name/stuff/docker-volumes/postgres/data' Supplementing path: |
stuff
!stuff/docker-volumes/postgres Looks like directory scanning still touches files with too few permissions. My current workaround is to explicitly avoid path: |
stuff/a
stuff/b
stuff/c |
The same here, I'm trying to do something like this:
My current workaround for this is:
And after that upload the Would be nice to have the user or sudo parameter. |
I think I have a related problem, although it is
gives me
I can just delete the problematic file before running the action, of course, which will probably be my strategy. |
Describe the bug
Using a glob that happens to come across a folder not owned by the current user, causes the upload task to fail.
Version
Environment
Screenshots
How to reproduce
Additional context
I did a little digging, and the offending code is coming from
@actions/glob
which has been reported here. Just wanted to bring it to your attention as well, and for my reference, as I use a workaroundThe text was updated successfully, but these errors were encountered: