From fa12e4f48807def0bbbb7f2e7fdae7a3d389c577 Mon Sep 17 00:00:00 2001 From: Johannes 'josch' Schauer Date: Sun, 3 May 2020 17:18:34 +0200 Subject: [PATCH] create /tmp with chmod 01777 --- mmdebstrap | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mmdebstrap b/mmdebstrap index b7dfbd3..20dc746 100755 --- a/mmdebstrap +++ b/mmdebstrap @@ -1271,6 +1271,8 @@ sub run_setup() { } } } + # make sure /tmp is not 0755 like the rest + chmod 01777, "$options->{root}/tmp" or error "cannot chmod /tmp: $!"; } # The TMPDIR set by the user or even /tmp might be inaccessible by the