[Konsole-devel] [Bug 75575] New: konsole_grantpty cannot chown /dev/pts*

mas madonom at netscape.net
Thu Feb 19 02:40:53 UTC 2004


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
      
http://bugs.kde.org/show_bug.cgi?id=75575      
           Summary: konsole_grantpty cannot chown /dev/pts*
           Product: konsole
           Version: unspecified
          Platform: Compiled Sources
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: konsole-devel kde org
        ReportedBy: madonom netscape net


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'.



More information about the konsole-devel mailing list