Skip to content

Commit

Permalink
Revert #47
Browse files Browse the repository at this point in the history
  • Loading branch information
johanmeiring committed Oct 2, 2020
1 parent 077a3f9 commit 171ce2c
Showing 1 changed file with 11 additions and 7 deletions.
18 changes: 11 additions & 7 deletions tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 171ce2c

Please sign in to comment.