Fix permissions
This commit is contained in:
parent
d9e79bcc36
commit
1f49c3cf48
18
.drone.yml
18
.drone.yml
|
@ -36,8 +36,15 @@ steps:
|
||||||
cp -r /usr/. /cache_stage/usr/
|
cp -r /usr/. /cache_stage/usr/
|
||||||
getfacl -p -R /usr > /cache_stage/usr/permissions.acl
|
getfacl -p -R /usr > /cache_stage/usr/permissions.acl
|
||||||
fi
|
fi
|
||||||
|
- |
|
||||||
|
if ! [ "$(ls -A /build2)" ]; then
|
||||||
|
cp -r /build/. /build2/
|
||||||
|
getfacl -p -R /usr > /build2/permissions.acl
|
||||||
|
fi
|
||||||
- chmod a+rw /output
|
- chmod a+rw /output
|
||||||
volumes:
|
volumes:
|
||||||
|
- name: build_electron-ozone
|
||||||
|
path: /build2
|
||||||
- name: etc_electron-ozone
|
- name: etc_electron-ozone
|
||||||
path: /cache_stage/etc
|
path: /cache_stage/etc
|
||||||
- name: opt_electron-ozone
|
- name: opt_electron-ozone
|
||||||
|
@ -58,7 +65,7 @@ steps:
|
||||||
- setfacl --restore=/opt/permissions.acl
|
- setfacl --restore=/opt/permissions.acl
|
||||||
- setfacl --restore=/var/permissions.acl
|
- setfacl --restore=/var/permissions.acl
|
||||||
- setfacl --restore=/usr/permissions.acl
|
- setfacl --restore=/usr/permissions.acl
|
||||||
- chown build:33 -R /build
|
- setfacl --restore=/build/permissions.acl
|
||||||
volumes:
|
volumes:
|
||||||
- name: build_electron-ozone
|
- name: build_electron-ozone
|
||||||
path: /build
|
path: /build
|
||||||
|
@ -210,8 +217,15 @@ steps:
|
||||||
cp -r /usr/. /cache_stage/usr/
|
cp -r /usr/. /cache_stage/usr/
|
||||||
getfacl -p -R /usr > /cache_stage/usr/permissions.acl
|
getfacl -p -R /usr > /cache_stage/usr/permissions.acl
|
||||||
fi
|
fi
|
||||||
|
- |
|
||||||
|
if ! [ "$(ls -A /build2)" ]; then
|
||||||
|
cp -r /build/. /build2/
|
||||||
|
getfacl -p -R /usr > /build2/permissions.acl
|
||||||
|
fi
|
||||||
- chmod a+rw /output
|
- chmod a+rw /output
|
||||||
volumes:
|
volumes:
|
||||||
|
- name: build_discord_arch_electron
|
||||||
|
path: /build2
|
||||||
- name: etc_discord_arch_electron
|
- name: etc_discord_arch_electron
|
||||||
path: /cache_stage/etc
|
path: /cache_stage/etc
|
||||||
- name: opt_discord_arch_electron
|
- name: opt_discord_arch_electron
|
||||||
|
@ -232,7 +246,7 @@ steps:
|
||||||
- setfacl --restore=/opt/permissions.acl
|
- setfacl --restore=/opt/permissions.acl
|
||||||
- setfacl --restore=/var/permissions.acl
|
- setfacl --restore=/var/permissions.acl
|
||||||
- setfacl --restore=/usr/permissions.acl
|
- setfacl --restore=/usr/permissions.acl
|
||||||
- chown -R build:33 /output
|
- setfacl --restore=/build/permissions.acl
|
||||||
volumes:
|
volumes:
|
||||||
- name: build_discord_arch_electron
|
- name: build_discord_arch_electron
|
||||||
path: /build
|
path: /build
|
||||||
|
|
Loading…
Reference in New Issue
Block a user