From 5cba414e3fd7dbe761a6f628c6a368a412c0cba3 Mon Sep 17 00:00:00 2001 From: Paul Gortmaker Date: Sun, 27 Jul 2014 22:58:36 -0400 Subject: base-files: fix up misleading dir grouping names for lsb dirs In commit b0df35f47fb79dc149504bd66d1186b3276f9510 ("base-files: Add to make some directories needed by LSB.") there were new groupings of dirs made. But rather than keep the grouping names permissions based as they clearly were, it seems that it was unfortunately misinterpreted as a counter, simply incrementing as a new group was added. This leads to dir3755 getting chmod'd to 0755 and dir4775 being chmod'd to 2775 which to any new reader of the code is terribly confusing. Choose names that clearly reflect the permissions, and add a lsb suffix to indicate the role. Also note that the settings for /var/mail seem incorrect, and so they have been aligned with what is seen in most common distros. Signed-off-by: Paul Gortmaker Signed-off-by: Saul Wold Signed-off-by: Richard Purdie --- meta/files/fs-perms.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'meta/files/fs-perms.txt') diff --git a/meta/files/fs-perms.txt b/meta/files/fs-perms.txt index 9c144109ea..109cbe553c 100644 --- a/meta/files/fs-perms.txt +++ b/meta/files/fs-perms.txt @@ -60,8 +60,8 @@ ${localstatedir}/local 0755 root root false - - - /tmp 01777 root root false - - - ${localstatedir}/volatile/tmp 01777 root root false - - - -# Set 3755 +# Set 755-lsb /srv 0755 root root false - - - -# Set 4775 -/var/mail 02755 root root false - - - +# Set 2775-lsb +/var/mail 02775 root mail false - - - -- cgit 1.2.3-korg