diff options
| author | Daniel Baumann <daniel@debian.org> | 2012-08-15 20:25:41 +0200 |
|---|---|---|
| committer | Daniel Baumann <daniel@debian.org> | 2012-08-16 11:22:20 +0200 |
| commit | 2dc6316b33d2bdf0807e72393929c9c1b6e1a383 (patch) | |
| tree | 078db42cf4d95b5c5b37d9352320b46c6c88a8ed | |
| parent | 3e6ca002a29e3dd9afeb57084b7bf1c7ce4504ca (diff) | |
| download | live-boot-2dc6316b33d2bdf0807e72393929c9c1b6e1a383.tar.gz live-boot-2dc6316b33d2bdf0807e72393929c9c1b6e1a383.zip | |
Correcting permissions of /tmp which apparently somehow get mixed up along the way.
| -rwxr-xr-x | scripts/boot/9990-overlay.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/boot/9990-overlay.sh b/scripts/boot/9990-overlay.sh index 00c53c8..597ff50 100755 --- 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 |
