mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-08-07 00:57:00 +02:00
Update to 2021-12-31 14:05
This commit is contained in:
9
roles/rpm_build_server/templates/perms.sh.j2
Normal file
9
roles/rpm_build_server/templates/perms.sh.j2
Normal file
@@ -0,0 +1,9 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -eo pipefail
|
||||
|
||||
chown -R {{ rpm_user }} {{ rpm_root_dir }}
|
||||
chmod 770 {{ rpm_root_dir }}
|
||||
setfacl -b -k -R {{ rpm_root_dir }}
|
||||
setfacl -m g:{{ rpm_build_group }}:rX {{ rpm_root_dir }}
|
||||
setfacl -R -m g:{{ rpm_build_group }}:rwX,d:g:{{ rpm_build_group }}:rwX {{ rpm_root_dir }}/uploads {{ rpm_root_dir }}/builds {{ rpm_root_dir }}/repo
|
Reference in New Issue
Block a user