Date: Fri, 7 Sep 2001 20:40:02 -0700 (PDT) From: David Wolfskill <david@catwhisker.org> To: freebsd-bugs@FreeBSD.org Subject: Re: bin/30420: "make install" for stallion tries to write to /usr/src Message-ID: <200109080340.f883e2n94999@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/30420; it has been noted by GNATS.
From: David Wolfskill <david@catwhisker.org>
To: freebsd-gnats-submit@freebsd.org
Cc:
Subject: Re: bin/30420: "make install" for stallion tries to write to /usr/src
Date: Fri, 7 Sep 2001 20:37:52 -0700 (PDT)
Further analysis (catalyzed by others' reports of failures at the same
place) shows that my earlier assertions about trying to write to
/usr/src are likely wildly inaccurate.
Rather, the problem seem to be the mode of the created files:
dhcp-140[1] cd /usr/src/usr.sbin/stallion
dhcp-140[2] ls -la {,/usr/obj/`pwd`/}bootcode
/usr/obj//usr/src/usr.sbin/stallion/bootcode:
total 79
drwxrwxr-x 2 root wheel 512 Sep 7 06:57 .
drwxrwxr-x 6 root wheel 512 Sep 7 05:50 ..
-r--r----- 1 root wheel 31056 Sep 7 06:57 2681.sys
-r--r----- 1 root wheel 41760 Sep 7 06:57 cdk.sys
-rw-rw-r-- 1 root wheel 4233 Sep 7 06:57 stl.4.gz
bootcode:
total 116
drwxrwxr-x 3 david wheel 512 Sep 7 10:57 .
drwxrwxr-x 7 david wheel 512 Aug 31 05:26 ..
-rw-rw-r-- 1 david wheel 42912 Aug 31 05:26 2681.sys.uu
drwxrwxr-x 2 david wheel 512 Aug 31 05:26 CVS
-rw-rw-r-- 1 david wheel 401 Sep 7 10:57 Makefile
-rw-rw-r-- 1 david wheel 57657 Aug 31 05:26 cdk.sys.uu
-rw-rw-r-- 1 david wheel 12475 Aug 31 05:26 stl.4
dhcp-140[3]
Since "root" on the client machine is treated as neither the root
user nor a member of the wheel group (by default), the attempt
to read the generated files fails, thus causing the install to fail.
Sorry for the confusion; it still seems that there's a problem, though.
Perhaps the "make buildworld" step could cause the generated files to
have a less-restrictive mode...?
david
--
David H. Wolfskill david@catwhisker.org
As a computing professional, I believe it would be unethical for me to
advise, recommend, or support the use (save possibly for personal
amusement) of any product that is or depends on any Microsoft product.
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200109080340.f883e2n94999>
