>> I changed the owner of the file to root using chown root newuser.cgi, >> but still i m not able to write... > > have you tried asking in a unix or apache forum, or do you expect > pythoneers to help you with all your computer-related problems ? (are you sure your apache install runs CGI processes as root, btw? sounds dangerous...) </F>