Skip to content

Commit

Permalink
Should ensure imagePath is set to 775 instead of 777
Browse files Browse the repository at this point in the history
  • Loading branch information
mastacontrola committed Aug 7, 2024
1 parent 51e94b0 commit c023872
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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
;;
Expand Down

0 comments on commit c023872

Please sign in to comment.