[Ubuntu images] Why is /usr/local/bin set to 777 permission? #7607
Unanswered
yhaliaw
asked this question in
General questions
Replies: 1 comment
-
Hi @yhaliaw. It was done to allow runner user to install npm modules globally without |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
From testing in GitHub Actions, the permission for
/usr/local/bin
inside a ubuntu-22.04 runner is set todrwxrwxrwx
.The common permission for
/usr/local/bin
generally does not include write access for all users.Since the runner user has sudo access, writing to
/usr/local/bin
would just require usingsudo
.Is there any reason behind the design decision to set the permission to 777 for /usr/local/bin?
Beta Was this translation helpful? Give feedback.
All reactions