Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have installed a custom service on Linux .

The service was installed as root in /etc/init.d/.

Now, when I want to start the service, it uses a shell script located elsewhere which belongs to user A and group B. this shell script has executable right for everybody.

so I run service myService start, but it gives me permission denied on this shell script.

I'm running under su root.

Any ideas?

share|improve this question

migrated from Sep 27 '11 at 22:26

This question came from our site for professional and enthusiast programmers.

Please post the actual error message, file structure n(with permission and ownership info showing), and the paths. If you want to filter out usernames and other sensitive info that's fine, but show us the actual commands you're entering, and their output. – jefflunt Sep 27 '11 at 18:42
Is the service script itself set to executable? – Manny D Sep 27 '11 at 19:06

You must log in to answer this question.