actions / actions/cache

Tries to access zstd inside /root/.local directory for some reason

Open
#1,584 1 comment 1 reaction 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.