Martin Pitt writes ("Bug#648148: autopkgtest: Support running as user"): > Jakub Wilk [2012-06-12 16:44 +0200]: > > I second the idea of deprecating TMPDIR and introducing another > > variable for this purpose. > > I also second this ("thirded"? :-) ). > > Setting $TMPDIR leads to strange effects like this: > > File "/usr/lib/python3.2/tempfile.py", line 216, in _mkstemp_inner > fd = _os.open(file, flags, 0o600) > OSError: [Errno 13] Permission denied: > '/tmp/tmp.daOkZV19Dm/ubtree0-build/tmpdir/tmp231sct'
This is a bug, I think. The directory should be available to the test user. > This is a package build which runs tests during build, with $TMPDIR > set. As this initially gets created as root, the test suite is > apparently not able to access it. I will see if I can fix this now. Ian. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org