Red Hat Bugzilla – Bug 5412
tcsh produces 'Cannot open /dev/port: Permission denied'
Last modified: 2008-05-01 11:37:51 EDT
This seems related to bug #3909.
I updated several machines from RH5.2 to 6.0 and built a
2.2.12 kernel. Now all of them show this error whenever a
tcsh is opened by a user (at all logins and even when e.g.
less calls lesspipe.sh to find out how to handle a file).
Stracing around I saw that /dev/port isn't even accessed by
the called program itself, the device seems to be accessed
If the permissions are wrong (666, see 'man 4 port') the
'Permission denied' changes into a 'Operation not
Please mail me if you can't reproduce this bug.
You might want to check for a use of kbdrate from util-linux. There are
some fixes in util-linux for accessing /dev/port (and PAM console is involved).
Changing component to util-linux. Please change back to tcsh if that's where the
fix needs to be.
closed, lack of input.