>From: Victor Subervi <victorsube...@gmail.com> >Subject: Automatic chmod >To: freebsd-questions@freebsd.org >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. -Rich _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"