Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

When I do a kill -SIGUSR1 $PPID I get kill: (1) - Operation not permitted . How can I overcome this?

share|improve this question

2 Answers 2

My parent process had died for some reason. This caused the issue. I took care of that and the problem got solved.

share|improve this answer

You don't have permissions to send this signal. If you have sudo rights, do sudo kill -SIGUSR1 $PPID

share|improve this answer
    
I don't think that is the case. I am able to send SIGUSR1 from a sub-shell and the default disposition is taken. –  vpillai Feb 19 '13 at 3:32
1  
if you do ps aux | grep $PPID you should see as which user that process is running. If you are not root, and this proc is running as another user than yourself, then you will most likely have no permissions to send signals to it. –  mauro.stettler Feb 19 '13 at 3:41
    
could you please post the output of whoami and ps aux | grep $PPID? –  mauro.stettler Feb 19 '13 at 3:42
    
vysakhp 18563 0.0 0.0 90820 1772 ? S 08:50 0:00 sshd: vysakhp@pts/1 -bash-3.2$ whoami vysakhp –  vpillai Feb 19 '13 at 4:15

Your Answer

 
discard

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.