Bug#452800: Old Bug renewed: rights of the tty are wrong
On Sun, Nov 25, 2007 at 11:15:54 +0100, Klaus Ethgen wrote:
> Package: xterm
> Version: 222-1etch2
> Severity: normal
> I have no clue why this happens again since xterm isn't updated for long
> When I start xterm I get:
> mesg: error: tty device is not owned by group `tty'
> ~> ls -l `tty`
> crw--w---- 1 klaus utmp 136, 10 2007-11-25 11:11 /dev/pts/10
> If I chgrp of /usr/bin/xterm to tty it works well.
> Is there any reason the xterm binary is group utmp? And then why is this
> long fixed bug opened again?
Yes, xterm is setgid utmp on purpose. That shouldn't affect the tty
device's permissions AFAIK.
> ~> md5sum /usr/bin/xterm
> 3ebc5ce7ac8c87d64a17cf086987ce25 /usr/bin/xterm
> ~> sha1sum /usr/bin/xterm
> c328e8f61000c326e05e230164c27cd944c8c97f /usr/bin/xterm
> ~> ls -l /usr/bin/xterm
> -rwxr-sr-x 1 root utmp 298020 2007-01-10 17:35 /usr/bin/xterm
I'll try to investigate that on an etch box next week.