Shirt Pocket Discussions

Shirt Pocket Discussions (http://www.shirt-pocket.com/forums/index.php)
-   General (http://www.shirt-pocket.com/forums/forumdisplay.php?f=6)
-   -   Permissions Problem with Script (http://www.shirt-pocket.com/forums/showthread.php?t=5539)

davpel 08-13-2009 07:14 AM

Permissions Problem with Script
 
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

Irl 08-13-2009 07: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.

Irl 08-13-2009 07: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)


All times are GMT -4. The time now is 03:16 AM.

Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2017, vBulletin Solutions, Inc.