зеркало из https://github.com/github/ruby.git
Fix permission of PATH
https://github.com/ruby/actions/runs/608526685?check_suite_focus=true `warning: Insecure world writable dir /home/runner/.config in PATH, mode 040777`
This commit is contained in:
Родитель
1997e10f6c
Коммит
6292271ef7
|
@ -33,8 +33,9 @@ jobs:
|
|||
id: commit_info
|
||||
- name: Fixed world writable dirs
|
||||
run: |
|
||||
chmod go-w $HOME
|
||||
chmod -v go-w $HOME $HOME/.config
|
||||
sudo chmod -R go-w /usr/share
|
||||
sudo bash -c 'IFS=:; for d in '"$PATH"'; do chmod -v go-w $d; done' || :
|
||||
- name: Set ENV
|
||||
run: |
|
||||
echo '::set-env name=JOBS::'-j$((1 + $(nproc --all)))
|
||||
|
|
|
@ -39,8 +39,9 @@ jobs:
|
|||
id: commit_info
|
||||
- name: Fixed world writable dirs
|
||||
run: |
|
||||
chmod go-w $HOME
|
||||
chmod -v go-w $HOME $HOME/.config
|
||||
sudo chmod -R go-w /usr/share
|
||||
sudo bash -c 'IFS=:; for d in '"$PATH"'; do chmod -v go-w $d; done' || :
|
||||
- name: Set ENV
|
||||
run: |
|
||||
echo '::set-env name=JOBS::'-j$((1 + $(nproc --all)))
|
||||
|
|
Загрузка…
Ссылка в новой задаче