Bug 68094 - konsole returns - kdecore (KProcess): WARNING: Cannot chown /dev/ttypd
Summary: konsole returns - kdecore (KProcess): WARNING: Cannot chown /dev/ttypd
Status: RESOLVED FIXED
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources FreeBSD
: NOR normal
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-13 07:28 UTC by James Satterfield
Modified: 2004-01-13 19:23 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description James Satterfield 2003-11-13 07:28:31 UTC
Version:            (using KDE Devel)
Installed from:    Compiled sources
Compiler:          gcc 3.3.3 
OS:          FreeBSD

5.1-CURRENT FreeBSD 5.1-CURRENT #0: Sun Nov  9 16:36:01 PST 2003
kdelibs from 11/7
kgrantpty.c Revision 1.12

Intermittent konsole crashes with:
kdecore (KProcess): WARNING: Cannot chown /dev/ttypc
kdecore (KProcess): Reason Operation not permitted
/usr/local/kde/bin/kgrantpty: cannot determine pty name.


Reproduce:
Start konsole from terminal. In konsole (if it starts) start new shell. It may take several attempts.
I've found that after login, every other attempt to start konsole fails. As time progresses, failures deminish (Took 20 new shells to reproduce the error last time I tried).
Comment 1 groot 2003-12-31 15:16:12 UTC
See also bug 42986 - when kgrantpty / konsole_grantpty is setuid root, you get this behavior (each time, an additional pty is chowned, so as you work longer, more and more ptys become yours and the problem of having to try twice fades). If it's not setuid root, then you get the old "can be eavesdropped" behavior.
Comment 2 Oswald Buddenhagen 2004-01-13 19:23:39 UTC
fixed for kde 3.2