Date: 09/29/00
- Next message: Hans H. Anderson: "[PHP] display_errors problem in PHP4 solved"
- Previous message: Adam Charnock: "[PHP] Format Date"
- In reply to: Rasmus Lerdorf: "Re: [PHP] exec 'lynx' failed ???"
- Next in thread: Van: "[PHP] Re: [CIRCLE#3279] Re: [PHP] exec 'lynx' failed ???"
- Reply: Van: "[PHP] Re: [CIRCLE#3279] Re: [PHP] exec 'lynx' failed ???"
- Reply: Rasmus Lerdorf: "Re: [PHP] exec 'lynx' failed ???"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi Rasmus,
I did :
su nobody
strace lynx
I got :
write(2, "metamail: Can\'t open temporary f"..., 37metamail: Can't open
temporary file!
So how do I fix the permission ? I think since it's nobody, so no home
directory for nobody.
thanks
--- Sonia
On Fri, 29 Sep 2000, Rasmus Lerdorf wrote:
> > I found out if I "su nobody", lynx doesn't work!!!
> > metamail: Can't open temporary file!
> >
> > I don't get it
>
> su nobody
> strace lynx
>
> then check to see where it is trying to open a temp file and fix the
> permissions on that location.
>
> -Rasmus
>
> >
> >
> > --- Sonia
> >
> > On Fri, 29 Sep 2000, Van wrote:
> >
> > > 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
> > > Sonia:
> > >
> > > Give it the full path.
> > > exec("/usr/bin/lynx -dump http://mysite.com/cgi-bin/mytest.cgi",
> > > $result,$ret_val)
> > >
> > > Van
> > > --
> > > =========================================================================
> > > Linux rocks!!! http://www.dedserius.com
> > > =========================================================================
> > >
> >
> >
> >
>
>
-- 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: Hans H. Anderson: "[PHP] display_errors problem in PHP4 solved"
- Previous message: Adam Charnock: "[PHP] Format Date"
- In reply to: Rasmus Lerdorf: "Re: [PHP] exec 'lynx' failed ???"
- Next in thread: Van: "[PHP] Re: [CIRCLE#3279] Re: [PHP] exec 'lynx' failed ???"
- Reply: Van: "[PHP] Re: [CIRCLE#3279] Re: [PHP] exec 'lynx' failed ???"
- Reply: Rasmus Lerdorf: "Re: [PHP] exec 'lynx' failed ???"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

