Can't Write File

Rhodri James rhodri at wildebst.demon.co.uk
Thu Nov 12 00:35:08 CET 2009


On Wed, 11 Nov 2009 14:00:44 -0000, Victor Subervi  
<victorsubervi at gmail.com> wrote:

>> 6) you don't indicate which user is executing this script (only root can
>> write to it)
>>
> Help me on this. All scripts are owned by root. Is it not root that is
> executing the script?

Not unless your server setup is very, very stupid.  CGI scripts normally  
run as a user with *very* limited permissions to limit (amongst other  
things) the damage ineptly written scripts can do.

-- 
Rhodri James *-* Wildebeest Herder to the Masses



More information about the Python-list mailing list