Bash reports error "-bash: child setpgid (12743 to 12739): Operation not permitted" when pipe is used in commands.

Solution Verified - Updated -

Issue

  • When pipe character is used in between the commands, bash reports the errors/warnings like follows.
[root@localhost ~]# ls | less
-bash: child setpgid (12743 to 12739): Operation not permitted
-bash: child setpgid (12745 to 12739): Operation not permitted
-bash: child setpgid (12746 to 12739): Operation not permitted
anaconda-ks.cfg
install.log
install.log.syslog
  • Why its happening?
  • Is there any way to get it cleared?

Environment

  • Red Hat Enterprise Linux (RHEL) 5
  • bash-3.2-32.el5

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In