Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Blog | Linux Links | Bling | About BLU

BLU Discuss list archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

strange permissions problem?


This might be an easy one, but I'm struggling a bit with a PHP script.  The script simply converts a postscript file to a PNG using ImageMagick's convert... 


exec("/usr/bin/convert temp.png"); 

>From my local server this script isn't working, it just silently fails.  However, from command line the script works just fine.  So my conclusion is the www user doesn't have permission to execute convert whereas from the command line the user (jcarl) does... 

I can dump out CONVERT help from the PHP script (so the www user can) but I can't create the PNG file via the local server... 

Any ideas?  Thanks - and have a good weekend... 


Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
This message has been scanned for viruses and 
dangerous content by MailScanner, and is 
believed to be clean. 

Discuss mailing list 
[hidden email]

BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!

Boston Linux & Unix /