projects
/
live-boot-grml.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3e6ca00
)
Correcting permissions of /tmp which apparently somehow get mixed up along the way.
author
Daniel Baumann
<daniel@debian.org>
Wed, 15 Aug 2012 18:25:41 +0000
(20:25 +0200)
committer
Daniel Baumann
<daniel@debian.org>
Thu, 16 Aug 2012 09:22:20 +0000
(11:22 +0200)
scripts/boot/9990-overlay.sh
patch
|
blob
|
history
diff --git
a/scripts/boot/9990-overlay.sh
b/scripts/boot/9990-overlay.sh
index
00c53c8
..
597ff50
100755
(executable)
--- a/
scripts/boot/9990-overlay.sh
+++ b/
scripts/boot/9990-overlay.sh
@@
-343,6
+343,12
@@
setup_unionfs ()
# Correct the permissions of /:
chmod 0755 "${rootmnt}"
+ # Correct the permission of /tmp:
+ if [ -d "${rootmnt}/tmp" ]
+ then
+ chmod 1777 "${rootmnt}"/tmp
+ fi
+
live_rofs_list=""
# SHOWMOUNTS is necessary for custom mounts with the union option
# Since we may want to do custom mounts in user-space it's best to always enable SHOWMOUNTS