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?

link|improve this question
1  
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. – normalocity Sep 27 '11 at 18:42
Is the service script itself set to executable? – Manny D Sep 27 '11 at 19:06
feedback

migrated from stackoverflow.com Sep 27 '11 at 22:26

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

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
or
required, but never shown