proftpd: Fix mode of public key files and directory
All checks were successful
gitea/ansible-roles/pipeline/head This commit looks good

This commit is contained in:
Mathieu Trossevin 2022-12-09 10:19:51 +01:00
parent 101c282846
commit bc1facd1ba
Signed by: mtrossevin
GPG key ID: D1DBB7EA828374E9
3 changed files with 3 additions and 2 deletions

View file

@ -54,6 +54,7 @@ The **patch** part changes is incremented if multiple releases happen the same m
* nagios-nrpe: Fix check opendkim for recent change in listening port
* varnish: fix missing state, that blocked the task
* proftpd: Fix format of public key files controlled by ansible
* proftpd: Fix mode of public key directory and files (they have to be accessible by proftpd:nobody)
### Removed

View file

@ -65,7 +65,7 @@
template:
dest: "/etc/proftpd/sftp.authorized_keys/{{ _proftpd_account.name }}"
src: authorized_keys.j2
mode: 0600
mode: 0644
loop: "{{ proftpd_accounts_final }}"
loop_control:
loop_var: _proftpd_account

View file

@ -52,7 +52,7 @@
file:
path: /etc/proftpd/sftp.authorized_keys/
state: directory
mode: "0700"
mode: "0755"
owner: root
group: root
notify: restart proftpd