View Single Post
Old 11-25-2011, 07:51 AM   #4
nimblebooks
Enthusiast
nimblebooks began at the beginning.
 
Posts: 28
Karma: 10
Join Date: May 2010
Device: Kindle
Quote:
Originally Posted by susan_cassidy View Post
Web servers typically don't run as root, so perhaps a file needs to be overwritten that is owned by root, or something? Can you su to the user that the web server runs as, and then try running the command from the command-line that the web form submission runs?
yes, you're right, it was running as Apache's user. what you suggested would have worke.d Once I wrote the post above and realized that it had to be a permissions issue, I went back to the ebook-convert command line in my script and eyeballed each component until I realized which files Apache must be having trouble accessing.
nimblebooks is offline   Reply With Quote