>>From: Victor Subervi <[email protected]> >>Subject: Automatic chmod >>To: [email protected] >>Date: Friday, October 9, 2009, 10:19 AM >> >>Hi; >>I have a python script that automatically writes another script. I need to >>be able to automatically chmod the script so that it will execute. Also, it >>appears that's not enough, because when I manually chmod the script (775), >>it throws this error: >>fopen: Permission denied >>TIA, >>V > >What user are you running this under? Without seeing code, my first guess is >that you are >trying to open a file you don't have permission to open. The >chmod you are doing only affects >the script's permissions, not the >permissions of the files it may touch. > >For more, I suggest posting the code itself.
Sorry, missed the 'script that writes a script that won't run' piece. First solution isn't likely to be the solution (though still could be), but I still suggest posting the code. -Rich _______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[email protected]"
