Use chown instead of chmod.

This commit is contained in:
Alexander Artemenko 2021-02-24 23:46:39 +03:00
parent 0f01b6839d
commit 1e19b26582

View file

@ -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