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

[no subject]



TMPDIR=/tmp/adt-run.WQzHYl/dsc0t-testsuite-testtmp/tmpdir

4 drwxrwxrwt  4 root root 4096 Oct 27 21:32 /tmp/adt-run.WQzHYl/dsc0t-testsuite-testtmp/tmpdir/
4 drwx------  4 root root 4096 Oct 27 21:32 /tmp/adt-run.WQzHYl/dsc0t-testsuite-testtmp/
4 drwxr-xr-x  6 root root 4096 Oct 27 21:32 /tmp/adt-run.WQzHYl/
4 drwxrwxrwt 10 root root 4096 Oct 27 21:31 /tmp/

The permissions of /tmp/adt-run.WQzHYl/dsc0t-testsuite-testtmp are
wrong. The test script runs some parts of the tests as a non-privileged
user that cannot access files under TMPDIR.

Setting a more liberal umask before running atd-run fixes the issue. The
attached patch also fixes the issue but I haven't checked whether other
directories are created with the correct permissions.

Thanks,

-- 
-- arthur - adejong at debian.org - http://people.debian.org/~adejong --
-------------- next part --------------
A non-text attachment was scrubbed...
Name: autopkgtest-set-testtmp-permissions.patch
Type: text/x-patch
Size: 863 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/autopkgtest-devel/attachments/20131027/c22a4ee5/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/autopkgtest-devel/attachments/20131027/c22a4ee5/attachment.sig>


Reply to: