Delete a file from a CGI
matiassurdi at gmail.com
Fri Jun 1 09:32:47 CEST 2007
I want to delete a file from a CGI, but I always get a Permission denied
I've tryed this after creating the file (from a normal script):
os.chmod(".lock",stat.S_IMODE(stat.S_IRWXU | stat.S_IRWXO | stat.S_IRWXG))
but the CGI still can't delete the file.
I will appreciate very much your help.
Thanks a lot.
More information about the Python-list