Use chown instead of chmod.
This commit is contained in:
parent
0f01b6839d
commit
1e19b26582
1 changed files with 1 additions and 7 deletions
8
.github/workflows/docs.yml
vendored
8
.github/workflows/docs.yml
vendored
|
@ -22,13 +22,7 @@ jobs:
|
|||
- uses: actions/checkout@v1
|
||||
- name: Grant All Perms on /usr/local/etc/roswell
|
||||
# This makes cache restoration possible
|
||||
run: sudo mkdir /usr/local/etc/roswell && sudo chmod -R a+rwx /usr/local/etc/roswell
|
||||
- name: Who am I
|
||||
run: whoami
|
||||
- name: Who am under SUDO
|
||||
run: sudo echo `whoami`
|
||||
- name: USSER under SUDO
|
||||
run: sudo echo "${USER}"
|
||||
run: sudo mkdir -p /usr/local/etc/roswell && sudo chown "${USER}" /usr/local/etc/roswell
|
||||
- name: Cache Roswell Setup
|
||||
id: cache
|
||||
uses: actions/cache@v2
|
||||
|
|
Loading…
Reference in a new issue