From c0238723ce381b5cd0340932086b10d47e79e26b Mon Sep 17 00:00:00 2001 From: Tom Elliott Date: Wed, 7 Aug 2024 06:01:00 -0500 Subject: [PATCH] Should ensure imagePath is set to 775 instead of 777 --- .../board/FOG/FOS/rootfs_overlay/usr/share/fog/lib/funcs.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Buildroot/board/FOG/FOS/rootfs_overlay/usr/share/fog/lib/funcs.sh b/Buildroot/board/FOG/FOS/rootfs_overlay/usr/share/fog/lib/funcs.sh index e3b4a49..56cb1ba 100644 --- a/Buildroot/board/FOG/FOS/rootfs_overlay/usr/share/fog/lib/funcs.sh +++ b/Buildroot/board/FOG/FOS/rootfs_overlay/usr/share/fog/lib/funcs.sh @@ -499,7 +499,7 @@ prepareUploadLocation() { echo "Done" debugPause dots "Setting permission on $imagePath" - chmod -R 777 $imagePath >/dev/null 2>&1 + chmod -R 775 $imagePath >/dev/null 2>&1 case $? in 0) echo "Done" @@ -1586,7 +1586,7 @@ findHDDInfo() { completeTasking() { case $type in up) - chmod -R 777 "$imagePath" >/dev/null 2>&1 + chmod -R 775 "$imagePath" >/dev/null 2>&1 killStatusReporter . /bin/fog.imgcomplete ;;