From 7554d366ecae4f4ab0a16a840f68776c13dbe2ef Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sun, 21 Dec 2014 14:11:34 +0000 Subject: [PATCH] Set permissions for restore script --- install-freedombone.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/install-freedombone.sh b/install-freedombone.sh index ccc4e7f4..5b5dc6a4 100755 --- a/install-freedombone.sh +++ b/install-freedombone.sh @@ -2644,6 +2644,9 @@ function restore_from_friend { echo '' >> /usr/bin/$RESTORE_FROM_FRIEND_SCRIPT_NAME echo 'exit 0' >> /usr/bin/$RESTORE_FROM_FRIEND_SCRIPT_NAME + chmod 400 /usr/bin/$RESTORE_FROM_FRIEND_SCRIPT_NAME + chmod +x /usr/bin/$RESTORE_FROM_FRIEND_SCRIPT_NAME + echo 'restore_from_friend' >> $COMPLETION_FILE }