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

Jean-Baptiste Lallement jeanbaptiste.lallement at gmail.com
Thu Aug 30 23:09:03 UTC 2012


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) ])



More information about the autopkgtest-devel mailing list