umask + newgrp in ~/.bashrc creates bash processes in infinite loop.

Michal rabbit50 at tenbit.pl
Tue Apr 8 15:30:57 UTC 2008


Hallo group members.

I added to ~/.bashrc following lines:
umask 002
newgrp $USER


then, when starting up bash, bash processes are created in infinite loop.
You can break it with Ctrl-c, then:
$ ps

You will see many bash processes.

Have You got idea what might be the reason?

It happens both on fc6 and fc8. I didn't check other.

regards,
Michal




More information about the users mailing list