Fix permissions

This commit is contained in:
sfigato 2021-02-22 19:29:55 +01:00
parent ba8f1f1ae3
commit 91c0c0fdd4
Signed by: blallo
GPG Key ID: 0CBE577C9B72DC3F
2 changed files with 6 additions and 4 deletions

View File

@ -36,7 +36,7 @@ steps:
cp -r /usr/. /cache_stage/usr/
getfacl -p -R /usr > /cache_stage/usr/permissions.acl
fi
- chown build:33 -R /output
- chmod a+rw /output
volumes:
- name: etc_electron-ozone
path: /cache_stage/etc
@ -58,6 +58,7 @@ steps:
- setfacl --restore=/opt/permissions.acl
- setfacl --restore=/var/permissions.acl
- setfacl --restore=/usr/permissions.acl
- chown build:33 -R /build
volumes:
- name: build_electron-ozone
path: /build
@ -209,7 +210,7 @@ steps:
cp -r /usr/. /cache_stage/usr/
getfacl -p -R /usr > /cache_stage/usr/permissions.acl
fi
- chown -R build:33 /output
- chmod a+rw /output
volumes:
- name: etc_discord_arch_electron
path: /cache_stage/etc
@ -231,6 +232,7 @@ steps:
- setfacl --restore=/opt/permissions.acl
- setfacl --restore=/var/permissions.acl
- setfacl --restore=/usr/permissions.acl
- chown -R build:33 /output
volumes:
- name: build_discord_arch_electron
path: /build

4
run.sh
View File

@ -2,5 +2,5 @@
docker run \
--rm \
-v $PWD/build/doer:/doer \
-ti leophys/pikaur ${@}
-v $PWD/build:/build \
-ti leophys/pikaur:0.3 ${@}