kdf Wrote: > On 21-Mar-06, at 8:42 AM, jonheal wrote: > > > > The script I'm trying to run is kind of naughty in that it both > writes > > a file to the harddrive and also executes FTP, so maybe the Execute > > Script plugin doesn't like that sort of activity. I have the plugin > > working executing other scripts for other events, so it's working, > in > > general. > > > the plugin makes no judgement. it simply makes a call to the system to > > run the given filename. > If the system doesn't allow it, then it doesn't run, and the plugin > doesn't do any checks to make sure that it did run. > check permissions. check the log with d_plugins to watch what the > script is trying to do. > -k I am at a bit of a loss. I'm sure it's a permissions issue somewhere. Double-clicking on the file works fine, but then I am an administrator on this machine. I tried callling the .vbs file from a .bat file because I thought they executed under SYSTEM's authority, but that didn't work either. (Double-clicking the .bat file works, too.)
I have given the EVERYONE user execute permission on the script and the scripts folder (which contains the scripts and the file that the script writes) has MODIFY permission for the EVERYONE user. The log shows nothing too interesting: 2006-03-21 14:59:58.2131 Execute: loading scripts from C:/Program Files/SlimServer/server/scripts 2006-03-21 14:59:58.2150 Execute: found ADCOM_OFF.vbs 2006-03-21 14:59:58.2152 Execute: found ADCOM_ON.vbs 2006-03-21 14:59:58.2152 Execute: found FTPScript.txt 2006-03-21 14:59:58.2153 Execute: found FTP_COVER.bat 2006-03-21 14:59:58.2153 Execute: found FTP_COVER.vbs 2006-03-21 15:00:01.9771 Execute: path: C:/Program Files/SlimServer/server/scripts 2006-03-21 15:00:01.9772 Execute: file: C:\Program Files\SlimServer\server\scripts\FTP_COVER.bat 2006-03-21 15:00:01.9773 Execute: Executing: C:\Program Files\SlimServer\server\scripts\FTP_COVER.bat -- jonheal Jon Heal says: Have a nice day! http://www.theheals.org/ ------------------------------------------------------------------------ jonheal's Profile: http://forums.slimdevices.com/member.php?userid=2133 View this thread: http://forums.slimdevices.com/showthread.php?t=22306 _______________________________________________ Discuss mailing list [email protected] http://lists.slimdevices.com/lists/listinfo/discuss
