From 1fe16eda45e739c5f0ef223fb1464b9e3b5ba2df Mon Sep 17 00:00:00 2001 From: Jan Dittberner Date: Fri, 26 Dec 2014 00:11:26 +0100 Subject: [PATCH] remove invalid command option from setfacl call --- gvafile/osusers/tasks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(