Am Mittwoch, den 22.01.2020, 13:13 +0100 schrieb Johannes Schauer: > Hi, > > Quoting Benjamin Drung (2020-01-22 12:58:38) > > when I set TMPDIR to a directory that has mode 0755, mmdebstrap > > will fail: > > > > ``` > > $ ls -ld . > > drwxr-xr-x 3 bdrung bdrung 80 Jan 22 12:43 . > > $ TMPDIR=$(pwd) mmdebstrap buster buster.tar.xz > > I: automatically chosen mode: unshare > > you are using the unshare mode. This means that your temporary > directory needs > to be accessible by the unshared user. Evidently it is not. I don't > think there > is anything that mmdebstrap can do about it.
mmdebstrap could create a temporary directory, change the mode to 1777 and let unshare use that, couldn't it? -- Benjamin Drung DevOps Engineer and Debian & Ubuntu Developer Platform Integration (IONOS Cloud) 1&1 IONOS SE | Greifswalder Str. 207 | 10405 Berlin | Germany E-mail: [email protected] | Web: www.ionos.de Hauptsitz Montabaur, Amtsgericht Montabaur, HRB 24498 Vorstand: Dr. Christian Böing, Hüseyin Dogan, Dr. Martin Endreß, Hans- Henning Kettler, Matthias Steinberg, Achim Weiß Aufsichtsratsvorsitzender: Markus Kadelke Member of United Internet Diese E-Mail kann vertrauliche und/oder gesetzlich geschützte Informationen enthalten. Wenn Sie nicht der bestimmungsgemäße Adressat sind oder diese E-Mail irrtümlich erhalten haben, unterrichten Sie bitte den Absender und vernichten Sie diese E-Mail. Anderen als dem bestimmungsgemäßen Adressaten ist untersagt, diese E-Mail zu speichern, weiterzuleiten oder ihren Inhalt auf welche Weise auch immer zu verwenden. This e-mail may contain confidential and/or privileged information. If you are not the intended recipient of this e-mail, you are hereby notified that saving, distribution or use of the content of this e-mail in any way is prohibited. If you have received this e-mail in error, please notify the sender and delete the e-mail.
signature.asc
Description: This is a digitally signed message part

