From 46adfec8a7eabdad6639d84dadf0dc3089a46619 Mon Sep 17 00:00:00 2001 From: Justin Cormack Date: Fri, 25 Nov 2016 17:05:45 +0000 Subject: [PATCH] Add a tmpfs at /tmp This makes sure that once we have ro rootfs any programs that still for any reason use `/tmp` can still write to it, or if people expect sharing it into a container to work. fix #778 Signed-off-by: Justin Cormack --- alpine/etc/fstab | 1 + 1 file changed, 1 insertion(+) diff --git a/alpine/etc/fstab b/alpine/etc/fstab index 9e5436b84..aa5a6fbde 100644 --- a/alpine/etc/fstab +++ b/alpine/etc/fstab @@ -1 +1,2 @@ tmpfs /run tmpfs defaults,nodev,nosuid,noexec,relatime,size=10%,mode=755 0 0 +tmpfs /tmp tmpfs defaults,nodev,nosuid,noexec,relatime,size=10%,mode=1777 0 0