Debian Bug report logs - #349924
Wrong Permissions on tty

version graph

Package: xterm; Maintainer for xterm is Debian X Strike Force <debian-x@lists.debian.org>; Source for xterm is src:xterm (PTS, buildd, popcon).

Reported by: Klaus Ethgen <Klaus@Ethgen.de>

Date: Wed, 25 Jan 2006 22:18:02 UTC

Severity: minor

Merged with 349142

Found in version xterm/208-3.1

Fixed in version xterm/226-1

Done: Julien Cristau <jcristau@debian.org>

Bug is archived. No further changes may be made.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Debian X Strike Force <debian-x@lists.debian.org>:
Bug#349924; Package xterm. (full text, mbox, link).


Acknowledgement sent to Klaus Ethgen <Klaus@Ethgen.de>:
New Bug report received and forwarded. Copy sent to Debian X Strike Force <debian-x@lists.debian.org>. (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Klaus Ethgen <Klaus@Ethgen.de>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: Wrong Permissions on tty
Date: Wed, 25 Jan 2006 22:53:55 +0100
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Package: xterm
Version: 208-3.1
Severity: normal
Tags: sid

The newest xterm set the wrong permissions on tty:
ikki:~> ls -l `tty`
crw--w--w- 1 klaus ethgen 136, 9 2006-01-25 22:50 /dev/pts/9

this should be:
crw--w--w- 1 klaus tty    136, 9 2006-01-25 22:50 /dev/pts/9

/etc/default/devpts:
# GID of the `tty' group
TTYGRP=5
...

(gid 5 is group tty

This wrong permissions are problematic with other tools.

- -- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (800, 'unstable'), (700, 'testing'), (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.4.32
Locale: LANG=de_DE, LC_CTYPE=de_DE (charmap=ISO-8859-1) (ignored: LC_ALL set to de_DE)

Versions of packages xterm depends on:
ii  libc6                     2.3.5-12       GNU C Library: Shared libraries an
ii  libfontconfig1            2.3.2-1.1      generic font configuration library
ii  libfreetype6              2.1.10-1       FreeType 2 font engine, shared lib
ii  libice6                   6.9.0.dfsg.1-4 Inter-Client Exchange library
ii  libncurses5               5.5-1          Shared libraries for terminal hand
ii  libsm6                    6.9.0.dfsg.1-4 X Window System Session Management
ii  libx11-6                  6.9.0.dfsg.1-4 X Window System protocol client li
ii  libxaw8                   6.9.0.dfsg.1-4 X Athena widget set library
ii  libxext6                  6.9.0.dfsg.1-4 X Window System miscellaneous exte
ii  libxft2                   2.1.8.2-1      FreeType-based font drawing librar
ii  libxmu6                   6.9.0.dfsg.1-4 X Window System miscellaneous util
ii  libxrender1               1:0.9.0.2-1    X Rendering Extension client libra
ii  libxt6                    6.9.0.dfsg.1-4 X Toolkit Intrinsics
ii  xlibs-data                6.9.0.dfsg.1-4 X Window System client data
ii  zlib1g                    1:1.2.3-9      compression library - runtime

Versions of packages xterm recommends:
ii  xutils                    6.9.0.dfsg.1-4 X Window System utility programs

- -- no debconf information

- -- 
Klaus Ethgen                            http://www.ethgen.de/
pub  2048R/D1A4EDE5 2000-02-26 Klaus Ethgen <Klaus@Ethgen.de>
Fingerprint: D7 67 71 C4 99 A6 D4 FE  EA 40 30 57 3C 88 26 2B
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iQEVAwUBQ9fzc5+OKpjRpO3lAQIGzgf7BW163B/vjzX3Hl8mQfEtb/b7XqtsIeqw
YldvRKlJMxdYdwS8VcrDcVTN4HMldkON2SuSmWe9xZLWPwe3bw1QxYc88MUXlL+a
BqJ+KRMB5oegYKCdqkGB196fgePgx+r8pVFu7sDfDpH3fvs3wK2j7FnEIF0W/xQ/
+WW70Qdg2WiwiJ1/qrscbqa9pH6V9uZ80KRozbmoXoMmKO3N69or4MYh2rDniosy
wTprqSPwULiWUr3Cn1gZRKBy7QlgVgWFWSA0RB+aV1N/39ARjf9uU9gs/lyw//nm
UALtfVCK413im6NWmdPMlmj6J4JI+k5qEDGdSwquotEBrSS503mV+A==
=9Xq8
-----END PGP SIGNATURE-----



Information forwarded to debian-bugs-dist@lists.debian.org, Debian X Strike Force <debian-x@lists.debian.org>:
Bug#349924; Package xterm. (full text, mbox, link).


Acknowledgement sent to Thomas Dickey <dickey@radix.net>:
Extra info received and forwarded to list. Copy sent to Debian X Strike Force <debian-x@lists.debian.org>. (full text, mbox, link).


Message #10 received at 349924@bugs.debian.org (full text, mbox, reply):

From: Thomas Dickey <dickey@radix.net>
To: Klaus Ethgen <Klaus@Ethgen.de>, 349924@bugs.debian.org
Subject: Re: Bug#349924: Wrong Permissions on tty
Date: Wed, 25 Jan 2006 19:00:23 -0500
[Message part 1 (text/plain, inline)]
On Wed, Jan 25, 2006 at 11:20:15PM +0100, Klaus Ethgen wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Package: xterm
> Version: 208-3.1
> Severity: normal
> Tags: sid
> 
> The newest xterm set the wrong permissions on tty:
> ikki:~> ls -l `tty`
> crw--w--w- 1 klaus ethgen 136, 9 2006-01-25 22:50 /dev/pts/9
> 
> this should be:
> crw--w--w- 1 klaus tty    136, 9 2006-01-25 22:50 /dev/pts/9

I believe this is the same problem as #349142.

I think it's a case where the build environment lacks a "tty" in its /etc/group
file, and have added an option to the configure script to allow the packager to
force it to work around this case (will be in #209).

-- 
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net
[Message part 2 (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Debian X Strike Force <debian-x@lists.debian.org>:
Bug#349924; Package xterm. (full text, mbox, link).


Acknowledgement sent to Klaus Ethgen <Klaus@Ethgen.de>:
Extra info received and forwarded to list. Copy sent to Debian X Strike Force <debian-x@lists.debian.org>. (full text, mbox, link).


Message #15 received at 349924@bugs.debian.org (full text, mbox, reply):

From: Klaus Ethgen <Klaus@Ethgen.de>
To: Thomas Dickey <dickey@radix.net>
Cc: 349924@bugs.debian.org
Subject: Re: Bug#349924: Wrong Permissions on tty
Date: Thu, 26 Jan 2006 09:56:45 +0100
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Am Do den 26. Jan 2006 um  1:00 schrieb Thomas Dickey:
> I believe this is the same problem as #349142.

Yes, its the same. I didn't find this Bug in the list.

A small note:

As I know (not absolutely true) it is not the job of the terminal to set
the rights of /dev/pts/* this will be done automaticaly on creation. So
xterm shouldn't touch the rights if they are still correct.

Regards
   Klaus
- -- 
Klaus Ethgen                            http://www.ethgen.de/
pub  2048R/D1A4EDE5 2000-02-26 Klaus Ethgen <Klaus@Ethgen.de>
Fingerprint: D7 67 71 C4 99 A6 D4 FE  EA 40 30 57 3C 88 26 2B
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iQEVAwUBQ9iOzZ+OKpjRpO3lAQI4gQgAr4vqto8hpg+XKc8px7Jw4Rg9lz/MddlW
i5iRyyMYtBy1fovzjgezEtmJFijk+n3N0asGm8gmaBGJogHy/hWj5scqaFvNqtA0
OwNuhhT92Pvl2CWQnk97C83hhf5LCQAF9ADGGBU+KZly2mzjirbR+DalgRBE0hAQ
BLGR8/02qJXVSjjxwGRmt2jD6RWSnTLGMw+V7VUYhbu+ZruKWNdSllZmeiieqiEC
pNK7TR7mCPUkMQK3S3rnfKrWXfcvypdT20JcSzl6tbLomGvVhA6xrBXGGoq6zhY5
LFFyc3D8jq+RFIrONc+Fx7/oOLXGJ1p+PsvF9BORr3BS08761rJeIg==
=7y1f
-----END PGP SIGNATURE-----



Information forwarded to debian-bugs-dist@lists.debian.org, Debian X Strike Force <debian-x@lists.debian.org>:
Bug#349924; Package xterm. (full text, mbox, link).


Acknowledgement sent to Thomas Dickey <dickey@radix.net>:
Extra info received and forwarded to list. Copy sent to Debian X Strike Force <debian-x@lists.debian.org>. (full text, mbox, link).


Message #20 received at 349924@bugs.debian.org (full text, mbox, reply):

From: Thomas Dickey <dickey@radix.net>
To: Klaus Ethgen <Klaus@Ethgen.de>
Cc: Thomas Dickey <dickey@radix.net>, 349924@bugs.debian.org
Subject: Re: Bug#349924: Wrong Permissions on tty
Date: Thu, 26 Jan 2006 06:20:23 -0500
[Message part 1 (text/plain, inline)]
On Thu, Jan 26, 2006 at 09:56:45AM +0100, Klaus Ethgen wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Am Do den 26. Jan 2006 um  1:00 schrieb Thomas Dickey:
> > I believe this is the same problem as #349142.
> 
> Yes, its the same. I didn't find this Bug in the list.

no problem.
 
> A small note:
> 
> As I know (not absolutely true) it is not the job of the terminal to set
> the rights of /dev/pts/* this will be done automaticaly on creation. So
> xterm shouldn't touch the rights if they are still correct.

I suppose so.  But I recall seeing some implementation where it was owned
by root (and therefore not writable by the user).  That sort of thing is
why it's necessary to be able to install xterm with different permissions,
according to what the platform supports...

-- 
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net
[Message part 2 (application/pgp-signature, inline)]

Tags removed: sid Request was from Julien Cristau <julien.cristau@ens-lyon.org> to control@bugs.debian.org. (full text, mbox, link).


Severity set to `normal' from `normal' Request was from Julien Cristau <julien.cristau@ens-lyon.org> to control@bugs.debian.org. (full text, mbox, link).


Severity set to `minor' from `normal' Request was from Julien Cristau <julien.cristau@ens-lyon.org> to control@bugs.debian.org. (full text, mbox, link).


Merged 349142 349924. Request was from Julien Cristau <julien.cristau@ens-lyon.org> to control@bugs.debian.org. (full text, mbox, link).


Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Sat, 28 Jul 2007 07:26:58 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sat Apr 19 04:27:51 2025; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.