Unverified Commit 925bcb12 by Rachid Koucha Committed by Christian Brauner

Make /tmp accessible to any user

/tmp created with "rwxrwxrwt" mode Signed-off-by: 's avatarRachid Koucha <rachid.koucha@gmail.com>
parent 4f4a4976
......@@ -99,6 +99,9 @@ ${rootfs}/usr/lib64"
mknod -m 666 "${rootfs}/dev/zero" c 1 5 || res=1
mknod -m 666 "${rootfs}/dev/urandom" c 1 9 || res=1
fi
# make /tmp accessible to any user (with sticky bit)
chmod 1777 "${rootfs}/tmp" || return 1
# root user defined
cat <<EOF >> "${rootfs}/etc/passwd"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment