mirror of
https://github.com/nektos/act.git
synced 2026-04-26 01:15:51 +03:00
[GH-ISSUE #1849] "Permission denied" for non-executable scripts in run: #899
Labels
No labels
area/action
area/cli
area/docs
area/image
area/runner
area/workflow
backlog
confirmed/not-planned
kind/bug
kind/discussion
kind/external
kind/feature-request
kind/question
meta/duplicate
meta/invalid
meta/need-more-info
meta/resolved
meta/wontfix
meta/workaround
needs-work
pull-request
review/not-planned
size/M
size/XL
size/XXL
stale
stale-exempt
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/act#899
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @wolph on GitHub (Jun 8, 2023).
Original GitHub issue: https://github.com/nektos/act/issues/1849
Bug report info
Command used with act
Describe issue
This issue describes it pretty nicely: https://github.com/snok/install-poetry/pull/117
Long story short, the
install-poetryaction has arun: main.sh:github.com/snok/install-poetry@c137a18a0f/action.yml (L35)On Github Actions that works perfectly, when running within
actthis results in:/var/run/act/workflow/1-composite-0.sh: line 2: /var/run/act/actions/snok-install-poetry@v1.3.3/main.sh: Permission deniedLink to GitHub repository
No response
Workflow content
Relevant log output
Additional information
No response
@yknx4 commented on GitHub (Jun 16, 2023):
can confirm this happens after the
docker cp src=C:\Users\ZB Jade Ornelas\.cache\act/whatever-action@latest/ dst=/var/run/act/actions/whatever-action@latest/because the files on the docker would need achmod a+x@oldnaari commented on GitHub (Oct 29, 2023):
Having the same issue.
Way to reproduce:
Run action "linux" on Windows 11 for commit
github.com/oldnaari/Vermins-of-Dune@e0006aa275@github-actions[bot] commented on GitHub (Apr 27, 2024):
Issue is stale and will be closed in 14 days unless there is new activity
@virzak commented on GitHub (Jun 30, 2024):
Also applies to xu-cheng/latex-action
github.com/xu-cheng/latex-action@1ccd8e9a1b/action.yml (L48-L49)@ChristopherHX commented on GitHub (Jun 30, 2024):
On windows the following cli option should turn on a fix for this
--use-new-action-cacheA mass rewrite of a hot code path can cause a big behavior change, since then the old behavior is still in place by default
Note in this case the file must be marked as executable in git like in xu-cheng/latex-action