Bug#722458: Make TMPDIR usable for non-root

Christoph Berg myon at debian.org
Wed Sep 11 09:39:36 UTC 2013

Package: autopkgtest
Version: 2.3.2
Severity: wishlist

If the tests switch user, and the program run happens to honor TMPDIR,
it will fail because autopkgtest's TMPDIR is 0700 for root. Invoking
chmod 1777 $TMPDIR before switching users doesn't help because the
directory is somewhere deeply in /tmp/adt-something.

As the test temp files are probably not secret at all, I'd suggest
creating an 1777 TMPDIR directly in /tmp.

cb at df7cb.de | http://www.df7cb.de/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/autopkgtest-devel/attachments/20130911/038d9e2f/attachment.sig>

More information about the autopkgtest-devel mailing list