Tries to access zstd inside /root/.local directory for some reason
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 5.6k
- Forks
- 1.6k
- PR merge metrics
- No merged PRs in 30d
Description
I am using actions/cache@v4
and every time it tries to store cache or restore, it logs these errors:
Unexpected error attempting to determine if executable file exists '/root/.local/bin/zstd': Error: EACCES: permission denied, stat '/root/.local/bin/zstd'
Unexpected error attempting to determine if executable file exists '/root/bin/zstd': Error: EACCES: permission denied, stat '/root/bin/zstd'
zstd is present in /usr/bin directory and PATH is also correct.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the cache store or restore operation with actions/cache@v4 and review the executable checks for zstd shown in the issue logs. Done means the action no longer attempts inaccessible paths such as /root/.local/bin/zstd or /root/bin/zstd when zstd is available in /usr/bin.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- github-actions, typescript
- Domain
- ci-cd
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100