Date: 09/30/00
- Next message: Sebastian Stadtlich: "AW: [PHP] MySQL & PHP Security"
- Previous message: Mark Maggelet: "[PHP] problem with image button"
- In reply to: Sonia Tsui: "[PHP] exec 'lynx' failed ???"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Fri, 29 Sep 2000, Sonia Tsui wrote:
> Has anyone done this before?
> exec("lynx -dump http://mysite.com/cgi-bin/mytest.cgi", $result,$ret_val)
>
> I got a return value of 255, which means the exec of 'lynx' failed. I
> don't know why though. Anyone know why?
>
> ---Sonia
I just tried this on my RedHat system. It turns out that the user
"nobody", on my system, has a home directory of "/" (root). Of course,
they cannot write to this directory (and I don't want them to!). What I
did was:
usermod -d /tmp nobody
to set the "/tmp" subdirectory (which is world-writable on most
systems) as the home directory for "nobody".
Hope this helps,
John
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe <email protected> For additional commands, e-mail: php-general-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Sebastian Stadtlich: "AW: [PHP] MySQL & PHP Security"
- Previous message: Mark Maggelet: "[PHP] problem with image button"
- In reply to: Sonia Tsui: "[PHP] exec 'lynx' failed ???"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

