Bug#349142: xterm: Warning "mesg: error: tty device is not owned by group `tty'"
On Sat, Jan 21, 2006 at 11:18:20AM -0500, Thomas Dickey wrote:
> On Sat, Jan 21, 2006 at 11:40:09AM +0100, Roman Bertle wrote:
> > Package: xterm
> > Version: 208-3.1
> > Severity: minor
> >
> > Hello,
> >
> > since my last system upgrade, if I open a xterm a warning message is written:
>
> That more than likely indicates a problem with your configuration than
> xterm (of course it could be the package).
>
> > mesg: error: tty device is not owned by group `tty'
>
> On my system for instance, xterm is setgid to utmp. Perhaps these (xterm)
> changelog entries are related to your problem:
>
> Patch #206 - 2005/11/3 - XFree86 4.5.99.15
>
> * modify Imakefile to use setgid mode for installing with Linux,
> OpenBSD and FreeBSD.
> * add configure --with-setuid and --with-reference options to allow
> packagers more flexibility in customizing install permissions.
> * generalize and make optional (configure --with-utmp-setgid) the
> change made for XFree86 Bugzilla #878 in [219]patch #205 (FreeBSD
> bug report #ports/86663).
Hrm, regarding your fix in xterm 210, I'm not sure if this will work
entirely. On my system, I have some tty's owned by group root and others by
group tty. Won't setting the tty group with the --with-tty-group only work
for one set of these tty's, but not the other?
- David Nusinow, who hasn't yet reproduced this on his system
Reply to: