mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-04-28 20:42:20 +08:00
bkernel: set pesign perms with acl instead of user/group
We have to use acls here because the mock chroot has it's own user/group files and it dynamically adds users, but if we use acls it will look up the user and do the right thing because the name is the same. (Hopefully) Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
@@ -35,12 +35,7 @@
|
||||
- bkernel
|
||||
|
||||
- name: /var/run/pesign directory perms
|
||||
file: state=directory path=/var/run/pesign owner=pesign group=kojibuilder mode=0770
|
||||
tags:
|
||||
- bkernel
|
||||
|
||||
- name: /var/run/pesign socket perms
|
||||
file: path=/var/run/pesign/socket owner=pesign group=kojibuilder mode=0660
|
||||
acl: path=/var/run/pesign default=true entity=kojibuilder etype=group permissions=rwx recursive=true state=present
|
||||
tags:
|
||||
- bkernel
|
||||
|
||||
|
||||
Reference in New Issue
Block a user