Bug 75575 - konsole_grantpty cannot chown /dev/pts*
Summary: konsole_grantpty cannot chown /dev/pts*
Status: RESOLVED NOT A BUG
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-19 03:40 UTC by mas
Modified: 2007-02-10 04: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 mas 2004-02-19 03:40:52 UTC
Version:            (using KDE KDE 3.1.5)
Installed from:    Compiled From Sources
OS:          Linux

kernel 2.6.2. Compiled arts, kdelibs, kdebase (all for kde 3.1.5). Opening konsole gives following:

konsole: cannot chown /dev/pts/0.
Reason: Operation not permitted
konsole_grantpty: determined a strange device name `/dev/ptmx'.
konsole: chownpty failed for device /dev/pts/0::/dev/pts/0.
       : This means the session can be eavesdroped.
       : Make sure konsole_grantpty is installed in
       : /usr/local/kde315backup/bin/ and setuid root.

It appears whenever I open a konsole window; that is, it can be /dev/pts/anythig. konsole_grantpty is installed and is setuid root. This problem does not appear with kernel 2.4.22. I have compiled against kernel 2.4.22 and against 2.6.2; the problem appears *only* when running with kernel 2.6.2 (even for when compiled against 2.6.2).

what is the owner supposed to be after chown? The owner is the user who opened konsole. Is this supposed to get changed to someone else? As root, I can chown /dev/pts* to any user I please so I don't understand why I get the 'operation not permitted'.
Comment 1 Kurt Hindenburg 2005-04-07 07:02:13 UTC
Have you upgraded to a more recent KDE and linux version?
Comment 2 Robert Knight 2007-02-10 04:23:18 UTC
This bug has been inactive for a long time without further comments from the original reporter.  Closing for now.