Hi, Quoting Francesco Poli (2022-01-13 23:52:02) > On Mon, 10 Jan 2022 23:18:36 +0100 Johannes Schauer Marin Rodrigues wrote: > > You could set TMPDIR to a location that has enough space. > > I had tried, if you recall. > But you told me that the temporary directory must be world-writable > (and preferably with the sticky bit set) and all the directories in the > path must be world-readable. > > This rules out anything within my home directory (setting my home > directory as world-readable is out of the question).
I just remembered this message of yours and it occurred to me that maybe the following bit might be interesting to you. If you have a directory like this: /home/username/tmp And if /home/username is set to 750, then an unshared process (or any process other than one from your user or group) will not be able to read /home/username/tmp either, even if you chmod /home/username/tmp to 1777. But to fix this, there is another way than making /home/username world-readable. You can also chmod /home/username to 751. That way, the executable bit is set on your home directory but the readable bit is not. This means that other processes are able to access directories below /home/username if they know their path but they can *not* get a directory listing of /home/username. Maybe you already know this in which case, sorry for the noise. :) In any case I think that this detail about the executable bit versus the readable bit on directories is not widely known and I should probably add some documentation to the mmdebstrap man page about this to inform users that the path to their TMPDIR does *not* need to be world-readable, just world-executable. Thanks! cheers, josch
signature.asc
Description: signature

