From 171ce2c71719799676bcd9eed08c54a70e3089c5 Mon Sep 17 00:00:00 2001 From: Johan Meiring Date: Fri, 2 Oct 2020 19:14:09 +0200 Subject: [PATCH] Revert #47 --- tasks/main.yml | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/tasks/main.yml b/tasks/main.yml index a59c928..fc2d05c 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -73,13 +73,17 @@ with_items: "{{ _sftp_users }}" # A working chrooted SFTP setup requires root:sftgroup ownership of a user's home directory. -- name: SFTP-Server | Root SFTP permissions - file: - path: "{{ sftp_home_partition }}" - state: directory - mode: 0750 - group: "{{ sftp_group_name }}" - owner: root +# Temporarily removing the task below until we find a solution which does not +# set the permissions of e.g. /home +# Original issue: https://github.com/johanmeiring/ansible-sftp/issues/46 +# New issue: https://github.com/johanmeiring/ansible-sftp/issues/49 +# - name: SFTP-Server | Root SFTP permissions +# file: +# path: "{{ sftp_home_partition }}" +# state: directory +# mode: 0750 +# group: "{{ sftp_group_name }}" +# owner: root - name: SFTP-Server | Correct ownership and permission of home directories file: