create /tmp with chmod 01777

This commit is contained in:
Johannes 'josch' Schauer 2020-05-03 17:18:34 +02:00
parent b60893aa83
commit fa12e4f488
Signed by untrusted user: josch
GPG key ID: F2CBA5C78FBD83E1

View file

@ -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