Fortune in Squirrelmail

Noah John Gellner noah.gellner-H217xnMUJC0sA/PxXw9srA at public.gmane.org
Thu Apr 8 15:57:18 UTC 2004


First thanks for the list. It is a nice trouble shooting primer. No
problem with 1 and 2. /usr/bin/fortune is what I made my link to and the
link works fine. I su'ed to apache, which is the apache user and it has
no problem executing the sym link.

Where can I check the relevant configs for executable restrictions?

On Thu, 2004-04-08 at 09:05, Kareem Shehata wrote:
> Dumb things I would check:
> 
> 1)  Does /usr/bin/fortune exist?  What permissions does it have?
> 
> 2)  Switch to the www-data user (or whichever user Apache is running as) 
> and run /usr/games/fortune
> 
> Finally, it's possible that Apache/PHP is configured such that scripts 
> can only access executables in some folders (e.g. /usr/bin/cgi-bin/*).  
> You may have to move or make a symlink there for it to work.
> 

-- 
Powerful, flexible, customizable - what more can you ask for?

--
The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml





More information about the Legacy mailing list