I have a simple form that submits a select box. When the submit button is pressed I run a python script that needs to create a new directory and add files from an repository. Currently I cannot get the python script to have the ability to create a directory.
Adding :
import cgitb
cgitb.enable()
to my script gave me a
<type 'exceptions.OSError'>: [Errno 13] Permission denied: '../prPages/myNewFolderTest'
error.
What do I need to be looking for/at as far as file permissions on the script, on the folders I am creating my sub folders in? What does one look at when having a python script manipulate files from a server environment?