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.
This commit is contained in:
Nicolás A. Ortega Froysa 2025-01-16 09:43:34 +01:00
parent 191784d1f2
commit 6eb456e667

View File

@ -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 ]