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 cgitbcgitb.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? 
How to setup server, file permissions, and python script so that python script can create files and directories
python;files