Python CGI & File Permissions
Brian Waskiewicz
bwaskiew at indiana.edu
Tue Dec 18 13:09:35 EST 2001
More information about the Python-list mailing list
Tue Dec 18 13:09:35 EST 2001
- Previous message (by thread): How to know that a second application has finished?
- Next message (by thread): Python CGI & File Permissions
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I'm trying to use a Python CGI script to write a text file on a Unix/Apache webserver. The problem is that the file created is owned by 'nobody' and has permissions '-rw-r--r--'. I need to read and append to the file in other scripts, so I need some way of changing the file permissions. I tried os.chmod() and that didn't work. Thanks.
- Previous message (by thread): How to know that a second application has finished?
- Next message (by thread): Python CGI & File Permissions
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list