From d8e204a5978bd1d161f8a338ef1c3f029039731b Mon Sep 17 00:00:00 2001 From: Bryan Bonvallet Date: Wed, 19 Feb 2014 15:47:46 -0500 Subject: [PATCH] Need to use remote user not local user. --- fabfile.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/fabfile.py b/fabfile.py index ac2a6be..d76384d 100644 --- a/fabfile.py +++ b/fabfile.py @@ -1,4 +1,3 @@ - """ Karmaworld Fabric management script Finals Club (c) 2013""" @@ -224,7 +223,7 @@ def file_setup(): # touch a file and change ownership if needed if 'log' in option and not files.exists(filepath): sudo('touch {0}'.format(filepath)) - sudo('chown {0}:{1} {2}'.format(env.local_user, env.group, filepath)) + sudo('chown {0}:{1} {2}'.format(env.user, env.group, filepath)) @task def check_secrets(): -- 2.25.1