Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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 stackoverflow.com Sep 27 '11 at 22:26

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

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. –  jefflunt Sep 27 '11 at 18:42
    
Is the service script itself set to executable? –  Manny D Sep 27 '11 at 19:06

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.