Bug 109589
Summary: | mesg fails with device not owned by group `tty' error | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Michael Fischer <fischer-michael> |
Component: | kernel | Assignee: | Than Ngo <than> |
Status: | CLOSED WONTFIX | QA Contact: | Ben Levenson <benl> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 1 | CC: | bugzilla, lapham |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i686 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2004-09-29 19:38:55 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Michael Fischer
2003-11-09 21:46:20 UTC
I wonder if this is related to the cannot chownpty error messages produced by konsole when it is started by a non-root user? --error text follows konsole: cannot chown /dev/pts/3. Reason: Operation not permitted konsole_grantpty not installed root-suid konsole: chownpty failed for device /dev/pts/3::/dev/pts/3. : This means the session can be eavesdroped. : Make sure konsole_grantpty is installed in : /usr/bin/ and setuid root. /usr/bin/konsole_grantpty was installed with suid bit turned off. I turned it on and restarted kde, but the problem continues. However, if I run konsole as root, then the corresponding /dev/pts/ device does end up with gid=tty as it should. <aol>I'm seeing this problem too</aol> Every time I log into my machine I see the "mesg: error: tty device is not owned by group `tty'" because I have "mesg y" in my .bashrc. Ugh. Oh, I should add that this probably has nothing to do with Component: kdebase, as I do not have KDE installed and I see the same message. Michael, I'm guessing it would be better to change the component to MAKEDEV or bash. This may be a kernel bug. I've written C test programs to create a pty using either getpt(), open("/dev/ptmx",...), or openpty(). In all cases, the newly created device /dev/pts/nn has uid and gid of the calling process, not the gid specified when /dev/pts was mounted. Mount shows none on /dev/pts type devpts (rw,gid=5,mode=620) so the /etc/fstab entry is being processed, but the setgid 5 for the new slave device is not happening. My test programs work correctly when compiled and run on a RH9 system. I'm changing component to "kernel". Thanks for the bug report. However, Red Hat no longer maintains this version of the product. Please upgrade to the latest version and open a new bug if the problem persists. The Fedora Legacy project (http://fedoralegacy.org/) maintains some older releases, and if you believe this bug is interesting to them, please report the problem in the bug tracker at: http://bugzilla.fedora.us/ |