summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Watson <cjwatson@ubuntu.com>2009-06-04 02:58:57 +0100
committermaximilian attems <maks@debian.org>2010-04-05 04:36:24 +0200
commit17c98474779d1887909bd60acaba1690e7e439e0 (patch)
tree0bb3053f2067b0baad5d354b3e1aee53eed79b95
parent755f0033cd5775e1d17c58965143b1b6001d3478 (diff)
downloadinitramfs-tools-17c98474779d1887909bd60acaba1690e7e439e0.tar.gz
initramfs-tools-17c98474779d1887909bd60acaba1690e7e439e0.zip
mkinitramfs: set initramfs root to 755
fixes unionfs-fuse to service requests made by non-root users. [ merge from 0.92bubuntu31, this does not interfer with UMASK setting of created initramfs, but only concerns / of initramfs -maks ] Signed-off-by: maximilian attems <maks@debian.org>
-rwxr-xr-xmkinitramfs1
1 files changed, 1 insertions, 0 deletions
diff --git a/mkinitramfs b/mkinitramfs
index 6eed876..a9e98b2 100755
--- a/mkinitramfs
+++ b/mkinitramfs
@@ -162,6 +162,7 @@ if [ ! -e "${MODULESDIR}/modules.dep" ]; then
fi
DESTDIR="$(mktemp -t -d mkinitramfs_XXXXXX)" || exit 1
+chmod 755 "${DESTDIR}"
__TMPCPIOGZ="$(mktemp -t mkinitramfs-OL_XXXXXX)" || exit 1
DPKG_ARCH=`dpkg --print-architecture`