Bug#349924: Wrong Permissions on tty

2006-01-26 Thread Klaus Ethgen
-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 Ethgenhttp://www.ethgen.de/
pub  2048R/D1A4EDE5 2000-02-26 Klaus Ethgen [EMAIL PROTECTED]
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-


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#349924: Wrong Permissions on tty

2006-01-26 Thread Thomas Dickey
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


pgpyQEaFtB852.pgp
Description: PGP signature


Bug#349924: Wrong Permissions on tty

2006-01-25 Thread Klaus Ethgen
-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 tty136, 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  libfontconfig12.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  libsm66.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-1X Rendering Extension client libra
ii  libxt66.9.0.dfsg.1-4 X Toolkit Intrinsics
ii  xlibs-data6.9.0.dfsg.1-4 X Window System client data
ii  zlib1g1:1.2.3-9  compression library - runtime

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

- -- no debconf information

- -- 
Klaus Ethgenhttp://www.ethgen.de/
pub  2048R/D1A4EDE5 2000-02-26 Klaus Ethgen [EMAIL PROTECTED]
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-


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#349924: Wrong Permissions on tty

2006-01-25 Thread Thomas Dickey
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 tty136, 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


pgp1vw9xpb6MP.pgp
Description: PGP signature