Subject: Re: releng-current
To: Jim Bernard <jbernard@mines.edu>
From: MLH <mlh@goathill.org>
List: tech-x11
Date: 11/03/2003 16:25:03
> 
> On Tue, Oct 28, 2003 at 05:31:02PM -0600, MLH wrote:
> > -----------------------
> > $ cat /var/log/xdm.log 
> > 
> > Fatal server error:
> > Cannot open log file "/var/log/XFree86.0.log"
> > 
>   These sound like perhaps your server is not suid root.  Normally /var/log
> and XFree86.0.log file are root owned, so if you start the server as a
> nonroot user (or maybe if you run xdm as a nonroot user), and the server is
> not suid root, it won't be able to do these operations on the log file.  What
> does
> 
>   ls -l /usr/X11/bin/XFree86
> 
> show for the permissions on an installation that fails?

Close...

The one that works:
-rws--x--x  1 root  wheel  1773111 Oct 29 17:23 /usr/X11R6/bin/XFree86
The one that doesn't work:
-rws--x--x  1 mlh  wheel  1765687 Oct 28 16:04 /usr/X11R6/bin/XFree86

(built from the same source code)

Note the owner... make sets packages up the xsets as being owned
by the builder, not root, so install, etc. extract them owned by
that user. When I changed owner, it worked.

Thanks. Suggestions for fixing this? (besides make'ing as root &
The NetBSD sets don't require it).