[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#686292: patch - adt-run fails with permission denied with option --user



Here is a proposition of patch

--- runner/adt-run      2012-07-08 21:57:26.000000000 +0000
+++ /usr/bin/adt-run    2012-08-30 22:13:14.260003073 +0000
@@ -1673,7 +1673,7 @@
         ]

         if opts.user:
-               script += ([ 'chown '+opts.user+' .' ] +
+               script += ([ 'chown '+opts.user+' . ..', ] +
                         tmpdir_script +
                         [ 'spec="$spec" origpwd="$origpwd" '
                                 +opts.user_wrap(create_command) ])



Reply to: