Allow 'copr' user to run 'sign' command
See https://pagure.io/copr/copr/issue/636 By default only root can run the `sign` command. This check is applied within obs-signd code. We need to allow regular user in the config, see `man sign.conf`. Also /usr/bin/sign is owned by root:obsrun with -rwsr-x--- hence we need to add a user to the obsrun group.
This commit is contained in:
parent
478e356787
commit
f8060b5a90
2 changed files with 2 additions and 1 deletions
|
@ -7,7 +7,7 @@
|
|||
|
||||
# pre-create copr user and group with predefined uid and gid
|
||||
- group: name=copr gid=986
|
||||
- user: name=copr group=copr uid=989
|
||||
- user: name=copr group=copr uid=989 groups=obsrun
|
||||
|
||||
- name: install copr-backend and copr-selinux
|
||||
dnf:
|
||||
|
|
|
@ -1 +1,2 @@
|
|||
server: {{ keygen_host }}
|
||||
allowuser: copr
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue