diff --git a/gvafile/osusers/tasks.py b/gvafile/osusers/tasks.py index 571046f..978c3fd 100644 --- a/gvafile/osusers/tasks.py +++ b/gvafile/osusers/tasks.py @@ -60,7 +60,7 @@ def setup_file_sftp_userdir(username): SUDO_CMD, INSTALL_CMD, '-o', username, '-g', username, '-m', '0750', '-d', sftp_directory], stderr=subprocess.STDOUT) subprocess.check_output([ - SUDO_CMD, SETFACL_CMD, '-r', '-m', 'www-data:--x', + SUDO_CMD, SETFACL_CMD, '-m', 'www-data:--x', sftp_directory], stderr=subprocess.STDOUT) except subprocess.CalledProcessError: _logger.exception(