Ubuntu Forums Archive Viewer

Funny errors with "Child Proscess"?

Archived thread 1034509 from Packaging and Compiling Programs. Markdown source: Packaging_and_Compiling_Programs/thread_1034509_Funny_errors_with_"Child_Proscess".md

Original URL About this archive
#1

Okay, When my application installs from a deb, it places a script and a JAR file into /usr/bin which I will refer to as myprog and myprog.jar. After installing the debian package, and selecting it from the menu, I get an error stating: "Failed to execute child process "myprog" (Permission denied)."

Does anyone know what is wrong? Thank You!

#2

A few quick questions:

What is the relation between myprog and myprog.jar? Does one file refer to the other (like a java wrapper)? What are the permissions of the file when you run 'ls -l myprog' and 'ls -l myprog.jar'?

It would also be helpful if you posted the exact commands that were run by the package manager.

#3

Well myprog calls java -jar myprog.jar. They are both in /usr/bin. I did enable it to run as an executable file which seems to work.