proftpd: Fix mode of public key files and directory
All checks were successful
gitea/ansible-roles/pipeline/head This commit looks good
All checks were successful
gitea/ansible-roles/pipeline/head This commit looks good
This commit is contained in:
parent
101c282846
commit
bc1facd1ba
|
@ -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
|
* nagios-nrpe: Fix check opendkim for recent change in listening port
|
||||||
* varnish: fix missing state, that blocked the task
|
* varnish: fix missing state, that blocked the task
|
||||||
* proftpd: Fix format of public key files controlled by ansible
|
* 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
|
### Removed
|
||||||
|
|
||||||
|
|
|
@ -65,7 +65,7 @@
|
||||||
template:
|
template:
|
||||||
dest: "/etc/proftpd/sftp.authorized_keys/{{ _proftpd_account.name }}"
|
dest: "/etc/proftpd/sftp.authorized_keys/{{ _proftpd_account.name }}"
|
||||||
src: authorized_keys.j2
|
src: authorized_keys.j2
|
||||||
mode: 0600
|
mode: 0644
|
||||||
loop: "{{ proftpd_accounts_final }}"
|
loop: "{{ proftpd_accounts_final }}"
|
||||||
loop_control:
|
loop_control:
|
||||||
loop_var: _proftpd_account
|
loop_var: _proftpd_account
|
||||||
|
|
|
@ -52,7 +52,7 @@
|
||||||
file:
|
file:
|
||||||
path: /etc/proftpd/sftp.authorized_keys/
|
path: /etc/proftpd/sftp.authorized_keys/
|
||||||
state: directory
|
state: directory
|
||||||
mode: "0700"
|
mode: "0755"
|
||||||
owner: root
|
owner: root
|
||||||
group: root
|
group: root
|
||||||
notify: restart proftpd
|
notify: restart proftpd
|
||||||
|
|
Loading…
Reference in a new issue