From ce57256aaf239213344722e070a2c1e01a835ed8 Mon Sep 17 00:00:00 2001 From: Bruce Leidl Date: Tue, 20 Feb 2018 17:26:13 -0500 Subject: [PATCH] fix file permissions on /home factory template --- meta-citadel-distro/recipes-core/images/citadel-image.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/meta-citadel-distro/recipes-core/images/citadel-image.bb b/meta-citadel-distro/recipes-core/images/citadel-image.bb index 273720a..a89db25 100644 --- a/meta-citadel-distro/recipes-core/images/citadel-image.bb +++ b/meta-citadel-distro/recipes-core/images/citadel-image.bb @@ -28,7 +28,8 @@ setup_var() { install -m 0755 -d ${IMAGE_ROOTFS}/usr/share/factory/var install -m 0755 -d ${IMAGE_ROOTFS}/usr/share/factory/home - install -m 0755 -o 1000 -g 1000 -d ${IMAGE_ROOTFS}/home/citadel/.local/share/applications + install -m 0755 -d ${IMAGE_ROOTFS}/home/citadel/.local/share/applications + chown -R 1000:1000 ${IMAGE_ROOTFS}/home/citadel/.local rmdir ${IMAGE_ROOTFS}/var/log/journal