projects
/
live-boot-grml.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
3b7c6a2
)
Merge branch 'fix-var-tmp-perms' into 'master'
author
Raphaël Hertzog
<hertzog@debian.org>
Tue, 21 Apr 2020 08:54:41 +0000
(08:54 +0000)
committer
Raphaël Hertzog
<hertzog@debian.org>
Tue, 21 Apr 2020 08:54:41 +0000
(08:54 +0000)
Set sticky bit on /var/tmp as well (matching perms in base-files)
See merge request live-team/live-boot!30
components/9990-overlay.sh
patch
|
blob
|
history
diff --git
a/components/9990-overlay.sh
b/components/9990-overlay.sh
index
eb57d4d
..
8350502
100755
(executable)
--- a/
components/9990-overlay.sh
+++ b/
components/9990-overlay.sh
@@
-310,6
+310,12
@@
setup_unionfs ()
chmod 1777 "${rootmnt}"/tmp
fi
+ # Correct the permission of /var/tmp:
+ if [ -d "${rootmnt}/var/tmp" ]
+ then
+ chmod 1777 "${rootmnt}"/var/tmp
+ fi
+
# Adding custom persistence
if [ -n "${PERSISTENCE}" ] && [ -z "${NOPERSISTENCE}" ]
then