From owner-freebsd-current Thu Jan 1 17:19:25 1998 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id RAA25728 for current-outgoing; Thu, 1 Jan 1998 17:19:25 -0800 (PST) (envelope-from owner-freebsd-current) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id RAA25714 for ; Thu, 1 Jan 1998 17:19:14 -0800 (PST) (envelope-from bde@godzilla.zeta.org.au) Received: (from bde@localhost) by godzilla.zeta.org.au (8.8.7/8.8.7) id MAA04334; Fri, 2 Jan 1998 12:16:45 +1100 Date: Fri, 2 Jan 1998 12:16:45 +1100 From: Bruce Evans Message-Id: <199801020116.MAA04334@godzilla.zeta.org.au> To: bde@zeta.org.au, thyerm@camtech.net.au Subject: Re: /etc/rc changes Cc: fcurrent@jraynard.demon.co.uk, freebsd-current@FreeBSD.ORG Sender: owner-freebsd-current@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >What is the prescribed method for installing files from /usr/src/etc >into /etc and getting the permissions right ? > >Should one just run "make distribution" from /usr/src/etc ? >or is one meant to examine the Makefile and just set the permissions >manually after copying files into /etc ? Most of them are data files or shell sourcesand don't need special permissions. I normally install them with install -D -D -p -o root -g wheel -m 644 The Makefile only gives 755 permissions to netstart and pccard_ether. Many of the shell sources begin with !#/bin/sh, but this is bogus except for these two files. rc.i386, rc.network, rc.pccard can't even work right when they are exec'ed directly, since they depend on rc.conf being sourced previously to set the options. Bruce