Fix permissions

This commit is contained in:
sfigato 2021-02-21 15:53:28 +01:00
parent b72b2f362c
commit e2ba9c5af3
Signed by: blallo
GPG Key ID: 0CBE577C9B72DC3F

View File

@ -19,22 +19,22 @@ steps:
- |
if ! [ "$(ls -A /cache_stage/etc)" ]; then
cp -r /etc/. /cache_stage/etc/
getfacl -R /etc > /cache_stage/etc/permissions.acl
getfacl -p -R /etc > /cache_stage/etc/permissions.acl
fi
- |
if ! [ "$(ls -A /cache_stage/opt)" ]; then
cp -r /opt/. /cache_stage/opt/
getfacl -R /opt > /cache_stage/opt/permissions.acl
getfacl -p -R /opt > /cache_stage/opt/permissions.acl
fi
- |
if ! [ "$(ls -A /cache_stage/var)" ]; then
cp -r /var/. /cache_stage/var/
getfacl -R /var > /cache_stage/var/permissions.acl
getfacl -p -R /var > /cache_stage/var/permissions.acl
fi
- |
if ! [ "$(ls -A /cache_stage/usr)" ]; then
cp -r /usr/. /cache_stage/usr/
getfacl -R /usr > /cache_stage/usr/permissions.acl
getfacl -p -R /usr > /cache_stage/usr/permissions.acl
fi
volumes:
- name: etc_electron-ozone
@ -162,22 +162,22 @@ steps:
- |
if ! [ "$(ls -A /cache_stage/etc)" ]; then
cp -r /etc/. /cache_stage/etc/
getfacl -R /etc > /cache_stage/etc/permissions.acl
getfacl -p -R /etc > /cache_stage/etc/permissions.acl
fi
- |
if ! [ "$(ls -A /cache_stage/opt)" ]; then
cp -r /opt/. /cache_stage/opt/
getfacl -R /opt > /cache_stage/opt/permissions.acl
getfacl -p -R /opt > /cache_stage/opt/permissions.acl
fi
- |
if ! [ "$(ls -A /cache_stage/var)" ]; then
cp -r /var/. /cache_stage/var/
getfacl -R /var > /cache_stage/var/permissions.acl
getfacl -p -R /var > /cache_stage/var/permissions.acl
fi
- |
if ! [ "$(ls -A /cache_stage/usr)" ]; then
cp -r /usr/. /cache_stage/usr/
getfacl -R /usr > /cache_stage/usr/permissions.acl
getfacl -p -R /usr > /cache_stage/usr/permissions.acl
fi
volumes:
- name: etc_discord_arch_electron
@ -321,6 +321,6 @@ depends_on:
---
kind: signature
hmac: 48cf15f03ad0089745a6ba4bc71df8f3d98eb7ef67c54f02f6cecf6e02eaa50c
hmac: 87f2576b3501113128d1a812e2305df70cbd18bbca913899cfdb990c16cd7591
...