From 939223aa4f43797f0cdd7f4ce4bca580fe3fac4f Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Wed, 3 Apr 2013 22:01:01 -0700 Subject: [PATCH] workunit: sudo rm -rf ... Signed-off-by: Sage Weil --- teuthology/task/workunit.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/teuthology/task/workunit.py b/teuthology/task/workunit.py index d7f4aca04d5..91799b37bb0 100644 --- a/teuthology/task/workunit.py +++ b/teuthology/task/workunit.py @@ -303,7 +303,7 @@ def _run_tests(ctx, refspec, role, tests, env, subdir=None): ) remote.run( logger=log.getChild(role), - args=['rm', '-rf', '--', scratch_tmp], + args=['sudo', 'rm', '-rf', '--', scratch_tmp], ) finally: log.info('Stopping %s on %s...', spec, role)