base-files/fs-perms.txt fix up odd perm inconsistencies.
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | base-files: actually install 2775 dirs as 2775, not 2755meta/ | +1 | 0 replies | |
| 2/3 | base-files: remove strange 2775 perms from dirs like /homemeta/ meta/ | +7 | 0 replies | |
| 3/3 | base-files: fix up misleading dir grouping names for lsb dirsmeta/ meta/ | +13 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/3] base-files/fs-perms.txt fix up odd perm inconsistencies.
Originally I was aiming to fix YOCTO #6579 -- where we had drwxr-sr-x set for /home for no particular reason (other than historical reasons; see the commit log for details). In doing so I also uncovered a couple other small inconsistencies that could use a cleanup, as follows:
-the group we called dir2775 we were chmod'ing as 2755 (7 vs 5)
-the /var/mail from the lsb additions was incorrect perms and group
-the grouping headings given for the lsb dirs (e.g. "dir4775") were
completely misleading; it appears the original author used the 1st digit ("4") as a group counter and not part of the perms.
The last two lsb related items are in both in the last commit below, since they end up touching the same lines.
Build tested with MACHINE="intel-corei7-64" from meta-intel with the core-image-sato. We can see /home does not have "s" set anymore.
poky$ls -ld build/tmp/work/intel_corei7_64-poky-linux/core-image-sato/1.0-r0/rootfs/home/ drwxr-xr-x 4 paul paul 4096 Jul 25 20:27 build/tmp/work/intel_corei7_64-poky-linux/core-image-sato/1.0-r0/rootfs/home/ poky$
Bug:
https://bugzilla.yoctoproject.org/show_bug.cgi?id=6579
Paul.
---
Paul Gortmaker (3):
base-files: actually install 2775 dirs as 2775, not 2755
base-files: remove strange 2775 perms from dirs like /home
base-files: fix up misleading dir grouping names for lsb dirs
meta/files/fs-perms.txt | 16 +++++++-------- meta/recipes-core/base-files/base-files_3.0.14.bb | 24 ++++++++++++----------- 2 files changed, 21 insertions(+), 19 deletions(-)
Signature · 1 line
2.0.1