[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/38628: xterm sets wrong pty mode and group
>Synopsis: xterm sets wrong pty mode and group
>Arrival-Date: Sun May 11 15:45:00 +0000 2008
>Originator: Michael van Elst
>Release: NetBSD 4.0_STABLE
Michael van Elst
"A potential Snark may lurk in every tree."
System: NetBSD henery 4.0_STABLE NetBSD 4.0_STABLE (HENERY) #0: Sat May 3
13:59:17 CEST 2008
xterm sets the pty mode to 0622 and the group to the group of the
person running xterm. This doesn't agree with the NetBSD standard
of giving tty ownership to the group 'tty' and to disable the world
The reason for this is the package configure script that guesses
about the system requirements. It will deduce how to set mode and
group on the setting of the terminal used by the shell which is running
the configure script followed by some sanity checks.
The result for NetBSD and an unprivileged user building xterm
is the described behaviour.
Build x11/xterm and use it :)
Pass the --with-tty-group=tty option to the build for NetBSD
to force the correct behaviour.
Main Index |
Thread Index |