View Full Version : Permissions Problem with Script

08-13-2009, 08:14 AM
I've been using SD for quite awhile now without issue. However, yesterday I added two scripts I downloaded from the Mactopia (MS Office for Mac) website. The first script is supposed to shut down all Microsoft Office related applications, etc., the second is supposed to restart them after the backup has completed. However, I am getting the following error preventing launch of the "quit" script.

Any help would be greatly appreciated.

| 03:30:27 AM | Info | ...ACTION: Running shell script quitall.sh.zip
| 03:30:27 AM | Info | ......COMMAND => Invoking Before Copy shell script: /Users/XXX/Files/Scripts/Microsoft SuperDuper/quitall.sh.zip
| 03:30:27 AM | Error | sh: /Users/XXX/Files/Scripts/Microsoft SuperDuper/quitall.sh.zip: Permission denied

08-13-2009, 08:38 AM
Is there some reason you are invoking the zip archive rather than unpacking it and invoking that? When I use Terminal and enter
sh [path to quitall.sh.zip]
I get an error. It's a different one, "cannot execute binary file". You might experiment with Terminal and see whether the script behaves as you wish.

08-13-2009, 08:40 AM
... more on that:
if instead I unpack it and enter
sh [path to quitall.sh]
it runs although it gives different errors:
37:38: syntax error: No user interaction allowed. (-1713)
44:45: syntax error: No user interaction allowed. (-1713)
23:24: syntax error: No user interaction allowed. (-1713)
37:38: syntax error: No user interaction allowed. (-1713)