From b53e6a9670b1620a56702cf7292001a30365aca0 Mon Sep 17 00:00:00 2001 From: Luigi Freitas Cruz Date: Tue, 25 Feb 2020 15:42:30 -0300 Subject: [PATCH] Fix permissions. --- builder/stage4/04-pisdr-system/01-run.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/builder/stage4/04-pisdr-system/01-run.sh b/builder/stage4/04-pisdr-system/01-run.sh index d1a7b24..e968c5a 100755 --- a/builder/stage4/04-pisdr-system/01-run.sh +++ b/builder/stage4/04-pisdr-system/01-run.sh @@ -1,10 +1,10 @@ -install -d "${ROOTFS_DIR}/home/${FIRST_USER_NAME}/Desktop" -install -D -m 755 shortcut/gnuradio.desktop "${ROOTFS_DIR}/home/${FIRST_USER_NAME}/Desktop" -install -D -m 755 shortcut/gqrx.desktop "${ROOTFS_DIR}/home/${FIRST_USER_NAME}/Desktop" -install -D -m 755 shortcut/sdrangel.desktop "${ROOTFS_DIR}/home/${FIRST_USER_NAME}/Desktop" +install -v -o 1000 -g 1000 -d "${ROOTFS_DIR}/home/${FIRST_USER_NAME}/Desktop/" +install -v -o 1000 -g 1000 -m 755 shortcut/gnuradio.desktop "${ROOTFS_DIR}/home/${FIRST_USER_NAME}/Desktop/" +install -v -o 1000 -g 1000 -m 755 shortcut/gqrx.desktop "${ROOTFS_DIR}/home/${FIRST_USER_NAME}/Desktop/" +install -v -o 1000 -g 1000 -m 755 shortcut/sdrangel.desktop "${ROOTFS_DIR}/home/${FIRST_USER_NAME}/Desktop/" -install -d "${ROOTFS_DIR}/usr/share/rpd-wallpaper" -install -D -m 755 wallpaper/donald-giannatti-vla.jpg "${ROOTFS_DIR}/usr/share/rpd-wallpaper" +install -v -o 1000 -g 1000 -d "${ROOTFS_DIR}/usr/share/rpd-wallpaper/" +install -v -o 1000 -g 1000 -m 755 wallpaper/donald-giannatti-vla.jpg "${ROOTFS_DIR}/usr/share/rpd-wallpaper/" install -v -o 1000 -g 1000 -d "${ROOTFS_DIR}/home/${FIRST_USER_NAME}/.config/" install -v -o 1000 -g 1000 -d "${ROOTFS_DIR}/home/${FIRST_USER_NAME}/.config/menus/"