Fix permissions
This commit is contained in:
parent
b72b2f362c
commit
e2ba9c5af3
18
.drone.yml
18
.drone.yml
|
@ -19,22 +19,22 @@ steps:
|
||||||
- |
|
- |
|
||||||
if ! [ "$(ls -A /cache_stage/etc)" ]; then
|
if ! [ "$(ls -A /cache_stage/etc)" ]; then
|
||||||
cp -r /etc/. /cache_stage/etc/
|
cp -r /etc/. /cache_stage/etc/
|
||||||
getfacl -R /etc > /cache_stage/etc/permissions.acl
|
getfacl -p -R /etc > /cache_stage/etc/permissions.acl
|
||||||
fi
|
fi
|
||||||
- |
|
- |
|
||||||
if ! [ "$(ls -A /cache_stage/opt)" ]; then
|
if ! [ "$(ls -A /cache_stage/opt)" ]; then
|
||||||
cp -r /opt/. /cache_stage/opt/
|
cp -r /opt/. /cache_stage/opt/
|
||||||
getfacl -R /opt > /cache_stage/opt/permissions.acl
|
getfacl -p -R /opt > /cache_stage/opt/permissions.acl
|
||||||
fi
|
fi
|
||||||
- |
|
- |
|
||||||
if ! [ "$(ls -A /cache_stage/var)" ]; then
|
if ! [ "$(ls -A /cache_stage/var)" ]; then
|
||||||
cp -r /var/. /cache_stage/var/
|
cp -r /var/. /cache_stage/var/
|
||||||
getfacl -R /var > /cache_stage/var/permissions.acl
|
getfacl -p -R /var > /cache_stage/var/permissions.acl
|
||||||
fi
|
fi
|
||||||
- |
|
- |
|
||||||
if ! [ "$(ls -A /cache_stage/usr)" ]; then
|
if ! [ "$(ls -A /cache_stage/usr)" ]; then
|
||||||
cp -r /usr/. /cache_stage/usr/
|
cp -r /usr/. /cache_stage/usr/
|
||||||
getfacl -R /usr > /cache_stage/usr/permissions.acl
|
getfacl -p -R /usr > /cache_stage/usr/permissions.acl
|
||||||
fi
|
fi
|
||||||
volumes:
|
volumes:
|
||||||
- name: etc_electron-ozone
|
- name: etc_electron-ozone
|
||||||
|
@ -162,22 +162,22 @@ steps:
|
||||||
- |
|
- |
|
||||||
if ! [ "$(ls -A /cache_stage/etc)" ]; then
|
if ! [ "$(ls -A /cache_stage/etc)" ]; then
|
||||||
cp -r /etc/. /cache_stage/etc/
|
cp -r /etc/. /cache_stage/etc/
|
||||||
getfacl -R /etc > /cache_stage/etc/permissions.acl
|
getfacl -p -R /etc > /cache_stage/etc/permissions.acl
|
||||||
fi
|
fi
|
||||||
- |
|
- |
|
||||||
if ! [ "$(ls -A /cache_stage/opt)" ]; then
|
if ! [ "$(ls -A /cache_stage/opt)" ]; then
|
||||||
cp -r /opt/. /cache_stage/opt/
|
cp -r /opt/. /cache_stage/opt/
|
||||||
getfacl -R /opt > /cache_stage/opt/permissions.acl
|
getfacl -p -R /opt > /cache_stage/opt/permissions.acl
|
||||||
fi
|
fi
|
||||||
- |
|
- |
|
||||||
if ! [ "$(ls -A /cache_stage/var)" ]; then
|
if ! [ "$(ls -A /cache_stage/var)" ]; then
|
||||||
cp -r /var/. /cache_stage/var/
|
cp -r /var/. /cache_stage/var/
|
||||||
getfacl -R /var > /cache_stage/var/permissions.acl
|
getfacl -p -R /var > /cache_stage/var/permissions.acl
|
||||||
fi
|
fi
|
||||||
- |
|
- |
|
||||||
if ! [ "$(ls -A /cache_stage/usr)" ]; then
|
if ! [ "$(ls -A /cache_stage/usr)" ]; then
|
||||||
cp -r /usr/. /cache_stage/usr/
|
cp -r /usr/. /cache_stage/usr/
|
||||||
getfacl -R /usr > /cache_stage/usr/permissions.acl
|
getfacl -p -R /usr > /cache_stage/usr/permissions.acl
|
||||||
fi
|
fi
|
||||||
volumes:
|
volumes:
|
||||||
- name: etc_discord_arch_electron
|
- name: etc_discord_arch_electron
|
||||||
|
@ -321,6 +321,6 @@ depends_on:
|
||||||
|
|
||||||
---
|
---
|
||||||
kind: signature
|
kind: signature
|
||||||
hmac: 48cf15f03ad0089745a6ba4bc71df8f3d98eb7ef67c54f02f6cecf6e02eaa50c
|
hmac: 87f2576b3501113128d1a812e2305df70cbd18bbca913899cfdb990c16cd7591
|
||||||
|
|
||||||
...
|
...
|
||||||
|
|
Loading…
Reference in New Issue
Block a user