remove invalid command option from setfacl call

This commit is contained in:
Jan Dittberner 2014-12-26 00:11:26 +01:00
parent 7aee6c8838
commit 1fe16eda45

View file

@ -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(