remove invalid command option from setfacl call
This commit is contained in:
parent
7aee6c8838
commit
1fe16eda45
1 changed files with 1 additions and 1 deletions
|
@ -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(
|
||||
|
|
Loading…
Reference in a new issue