It's a shell script, and your shell drops root privileges. Use a shell 
that doesn't or use a C-wraper.

tim tom wrote:

>Dear Pete,
>Yes, apache runs as nobody. But I have setuid add.sh. Wouldn't that be sufficient ?
>
>--
>tim
>
>--- Peter Houchin <[EMAIL PROTECTED]> wrote:
>  
>
>>you need to make sure that the web has permission to use that file .. my
>>guess is it don't have permission hence why you can run add.sh from the
>>command line (where your not your web user I'm assuming).
>>
>>    
>>
>
>
>__________________________________________________
>Do You Yahoo!?
>Yahoo! Autos - Get free new car price quotes
>http://autos.yahoo.com
>
>  
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to