xterm's ongoing setgid saga

Marc Aurele La France <[email protected]>
Newsgroups gmane.comp.xfree86.devel
Message-ID <[email protected]>
On Sun, 2 Apr 2006, Thomas Dickey wrote:

> CVSROOT:	/home/x-cvs
> Module name:	xc
> Changes by:	[email protected].	06/04/02 16:12:49

> Log message:
>   261. Integrate xterm's setgid feature into imake definitions (Thomas Dickey).

> Modified files:
>      xc/config/cf/:
>        Imake.tmpl OpenBSD.cf README X11.tmpl linux.cf
>      xc/programs/Xserver/hw/xfree86/:
>        CHANGELOG
>      xc/programs/xterm/:
>        Imakefile

>  Revision      Changes    Path
>  3.175         +4 -1      xc/config/cf/Imake.tmpl
>  3.117         +2 -1      xc/config/cf/OpenBSD.cf
>  1.27          +9 -1      xc/config/cf/README
>  1.293         +5 -2      xc/config/cf/X11.tmpl
>  3.241         +2 -1      xc/config/cf/linux.cf
>  3.3710        +2 -1      xc/programs/Xserver/hw/xfree86/CHANGELOG
>  3.71          +31 -20    xc/programs/xterm/Imakefile

This still isn't right, for `make install`.  Indeed, not all glibc-based 
systems make /var/run/utmp group-writtable.  Further, group-writtability 
isn't dependent on glibc version at all, but appears to have originated (on 
Linux) as a RedHat-ism.

Now, I'll grant my test on /etc/group wasn't perfect.  But it was based on 
the premise that a utmp group isn't needed on a system that doesn't make the 
utmp file group-writtable.  Testing for glibc version doesn't solve anything, 
but makes this problem worse.

Marc.

+----------------------------------+-----------------------------------+
|  Marc Aurele La France           |  work:   1-780-492-9310           |
|  Academic Information and        |  fax:    1-780-492-1729           |
|    Communications Technologies   |  email:  [email protected]          |
|  352 General Services Building   +-----------------------------------+
|  University of Alberta           |                                   |
|  Edmonton, Alberta               |     Standard disclaimers apply    |
|  T6G 2H1                         |                                   |
|  CANADA                          |                                   |
+----------------------------------+-----------------------------------+
XFree86 developer and VP.  ATI driver and X server internals.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.