From 48289a36c38e18200c90256d7eb7fee36014295e Mon Sep 17 00:00:00 2001 From: Marco Bozzolan Date: Wed, 4 Jan 2017 12:56:30 +0100 Subject: [PATCH] Suggest different permissions for tmpfs-mounted /tmp --- docs/admin/tuning-mount-cache-memory.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/admin/tuning-mount-cache-memory.rst b/docs/admin/tuning-mount-cache-memory.rst index 992c9d49..28f9e9da 100644 --- a/docs/admin/tuning-mount-cache-memory.rst +++ b/docs/admin/tuning-mount-cache-memory.rst @@ -34,8 +34,8 @@ performance boost. .. code-block:: bash - # mount tmp to memory with 2GB limit and 755 write permissions - mount -t tmpfs -o size=2G,mode=0755 tmpfs /tmp + # mount tmp to memory with 2GB limit and 1777 write permissions + mount -t tmpfs -o size=2G,mode=1777 tmpfs /tmp For more information about TMPFS, see the documentation `here`_.