Allow directory traversal

Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
This commit is contained in:
Patrick Uiterwijk 2018-11-22 18:24:16 +00:00
parent b37da984bf
commit abfdbf4d63
2 changed files with 2 additions and 2 deletions

View file

@ -262,7 +262,7 @@
- restart apache
- name: Create the repoSpanner cert directory
file: path=/etc/pagure/repospanner state=directory mode=0640 owner=git group=git
file: path=/etc/pagure/repospanner state=directory mode=0750 owner=git group=git
tags:
- config
- pagure

View file

@ -326,7 +326,7 @@ SSH_COMMAND_REPOSPANNER = ([
"--extra", "project_namespace", "%(project_namespace)s",
"%(cmd)s",
"'pagure/%(repotype)s/%(reponame)s'",
], {"REPOBRIDGE_CONFIG": "/etc/repobridge/rpms.json"})
], {"REPOBRIDGE_CONFIG": "/etc/pagure/repobridge_ansible.json"})
SSH_COMMAND_NON_REPOSPANNER = ([
"/usr/share/gitolite3/gitolite-shell",
"%(username)s",