Quellcode durchsuchen

Change permissions of images to the current user

Bob Mottram vor 8 Jahren
Ursprung
Commit
0206945fac
1 geänderte Dateien mit 1 neuen und 0 gelöschten Zeilen
  1. 1
    0
      src/freedombone-image

+ 1
- 0
src/freedombone-image Datei anzeigen

@@ -414,6 +414,7 @@ do
414 414
 	no_of_files=$(ls -afq build/${PROJECT_NAME}*.${im} | wc -l)
415 415
 	if (( no_of_files > 0 )); then
416 416
 		mv build/${PROJECT_NAME}*.${im} ${CURR_DIR}/
417
+		sudo chown ${CURR_USER}:${CURR_USER} ${CURR_DIR}/*.${im}
417 418
 	fi
418 419
 done
419 420