From 5bc88ae0f05d87cb7c65c6760d7ca258b09d3921 Mon Sep 17 00:00:00 2001 From: Jeremy Lecour Date: Fri, 23 Dec 2016 20:05:06 +0100 Subject: [PATCH] evolinux-base: fix /tmp rights --- evolinux-base/tasks/system.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/evolinux-base/tasks/system.yml b/evolinux-base/tasks/system.yml index a59fc390..f20b4c5d 100644 --- a/evolinux-base/tasks/system.yml +++ b/evolinux-base/tasks/system.yml @@ -1,9 +1,17 @@ --- + +# WARN: the documentation says that the mode is in "octal mode" +# but if the leading digit is not 0 it must be added again. +# 755 -> 0755 +# 2755 -> 02755 +# 1777 -> 01777 +# Bottom line: if the mode is not preceded by a 0, it will mess your rights up. + - name: /tmp must be world-writable file: path: /tmp state: directory - mode: 1777 + mode: 01777 - name: Setting default locales lineinfile: