From 6eb456e6671d67f2a6306b2f4e8829ea827557c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=A1s=20Ortega=20Froysa?= Date: Thu, 16 Jan 2025 09:43:34 +0100 Subject: [PATCH] sync-camera: Remove executable permission from file. This happens because the device is a FAT32 formatted SD card, thus by default everything is executable. But when transferring to my computer this isn't necessary. --- sync-camera | 1 + 1 file changed, 1 insertion(+) diff --git a/sync-camera b/sync-camera index fb1e172..920a2c8 100755 --- a/sync-camera +++ b/sync-camera @@ -73,6 +73,7 @@ do then echo "Copying ${INPUT_FILE} to ${OUTPUT_PATH::-4}.jpg ..." cp "$INPUT_FILE" "${OUTPUT_PATH::-4}.jpg" + chmod -x "${OUTPUT_PATH::-4}.jpg" fi if [ $REMOVE_FILES -eq 1 ]