]] "Roberto C. Sanchez" 

> I: Unpacking /home/roberto/.cache/sbuild/unstable-amd64.tar.zst to 
> /tmp/user/2000/tmp.sbuild.IBpZHAqVJp...
> tar: /tmp/user/2000/tmp.sbuild.IBpZHAqVJp: Cannot open: Permission denied
> tar: Error is not recoverable: exiting now
> bad exit status (512) for tar
> E: ABORT: Received PIPE signal (requesting cleanup and shutdown)
> 
> (the last line repeates several hundred or thousand times)
> 
> It would appear that sbuild now respects the setting of TMPDIR, and when
> using it in an unshare configuration, the process is run under a subuid.

This sounds like a bug in sbuild – it must reset the value of TMP/TMPDIR
when changing UIDs.

I'm not sure how libpam-tmpdir would discover any subuids for a given
user, do you have ideas here?

-- 
Tollef Fog Heen
UNIX is user friendly, it's just picky about who its friends are

Reply via email to