From nobody  Mon May  5 07:31:01 1997
Received: (from nobody@localhost)
          by hub.freebsd.org (8.8.5/8.8.5) id HAA27273;
          Mon, 5 May 1997 07:31:01 -0700 (PDT)
Message-Id: <199705051431.HAA27273@hub.freebsd.org>
Date: Mon, 5 May 1997 07:31:01 -0700 (PDT)
From: mrspock@esfm.ipn.mx
To: freebsd-gnats-submit@freebsd.org
Subject: xload  does not have proper owner and permissions.
X-Send-Pr-Version: www-1.0

>Number:         3512
>Category:       conf
>Synopsis:       xload  does not have proper owner and permissions.
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:
>Keywords:
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon May  5 07:40:01 PDT 1997
>Closed-Date:    Mon May 5 22:23:34 MET DST 1997
>Last-Modified:  Mon May  5 13:40:01 PDT 1997
>Originator:     Eduardo Viruena Silva
>Release:        2.2.1
>Organization:
ESFM-IPN
>Environment:
FreeBSD Isabeau.esfm.ipn.mx 2.2.1-RELEASE FreeBSD 2.2.1-RELEASE #0: 
Fri Apr  4 17:30:57 CST 1997     
mrspock@Isabeau:/usr/src/sys/compile/EViruena  i386

>Description:
I tried to install fvwm95. It requieres "xload" for one of its
tool-bar buttons.  It does not work because xload does not have
its owner and permission properly set.

>How-To-Repeat:
Install FreeBSD 2.2.1.
Install X
start "xload" as a user different of root.

>Fix:
login as root
cd /usr/X11R6/bin
chown root.kmem xload
chmod 2755 xload
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: joerg 
State-Changed-When: Mon May 5 22:23:34 MET DST 1997 
State-Changed-Why:  
Known and meanwhile fixed problem in XFree86 3.2. 


From: j@uriah.heep.sax.de (J Wunsch)
To: mrspock@esfm.ipn.mx
Cc: freebsd-gnats-submit@FreeBSD.ORG
Subject: Re: conf/3512: xload  does not have proper owner and permissions.
Date: Mon, 5 May 1997 22:18:00 +0200

 As mrspock@esfm.ipn.mx wrote:
 
 > >Synopsis:       xload  does not have proper owner and permissions.
 
 It actually has, but the version in the official XFree86 3.2 release
 is built incorrectly.  This incorrect build led to a situation where
 some `generic' code has been used to determine the load average, as
 opposed to the getloadavg(3) library call that doesn't require special
 permissions in FreeBSD.  That's why it works if you make the binary
 setgid kmem.
 
 I gonna close this PR since it's an XFree86 bug (and even one that has
 been fixed later, but there's no more recent XFree86 release available
 yet).
 
 -- 
 cheers, J"org
 
 joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
 Never trust an operating system you don't have sources for. ;-)
>Unformatted:

