From 92beb28816801bd0603cc135075b66c3288184d4 Mon Sep 17 00:00:00 2001 From: Jan Dittberner Date: Thu, 29 Jan 2015 22:55:45 +0100 Subject: [PATCH] add missing - to install parameter --- gvafile/fileservertasks/tasks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gvafile/fileservertasks/tasks.py b/gvafile/fileservertasks/tasks.py index cdb06cc..3f4473a 100644 --- a/gvafile/fileservertasks/tasks.py +++ b/gvafile/fileservertasks/tasks.py @@ -328,7 +328,7 @@ def set_file_ssh_authorized_keys(username, ssh_keys): try: subprocess.check_output([ SUDO_CMD, INSTALL_CMD, '-o', username, '-g', username, - 'm', '0500', '-d', os.path.dirname(ssh_authorized_keys_file)], + '-m', '0500', '-d', os.path.dirname(ssh_authorized_keys_file)], stderr=subprocess.STDOUT) subprocess.check_output([ SUDO_CMD, INSTALL_CMD, '-o', username, '-g', username,