From owner-freebsd-questions Mon Aug 5 19:53:17 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id TAA12070 for questions-outgoing; Mon, 5 Aug 1996 19:53:17 -0700 (PDT) Received: from gdi.uoregon.edu (cisco-ts14-line5.uoregon.edu [128.223.150.171]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id TAA12055 for ; Mon, 5 Aug 1996 19:53:10 -0700 (PDT) Received: from localhost (dwhite@localhost) by gdi.uoregon.edu (8.7.5/8.6.12) with SMTP id TAA00237; Mon, 5 Aug 1996 19:53:05 -0700 (PDT) Date: Mon, 5 Aug 1996 19:53:04 -0700 (PDT) From: Doug White Reply-To: dwhite@resnet.uoregon.edu To: Annelise Anderson cc: freebsd-questions@freebsd.org Subject: Re: 2.1.5 /etc/daily permissions In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk On Mon, 5 Aug 1996, Annelise Anderson wrote: > I've been merging (alphabetically, which may not be such a great > idea) the 2.1.5 /usr/src/etc files with my old /etc, and > noticed that in /usr/src/etc the daily, weekly and monthly > files have 644 permissions....whereas the old ones are 755. > > I don't think they'll run with 644, will they? I would > think 744 would be appropriate. If you take a look at /etc/crontab (which are where daily, weekly, and monthly are run from): # do daily/weekly/monthly maintenance 0 2 * * * root /etc/daily 2>&1 | sendmail root 30 3 * * 6 root /etc/weekly 2>&1 |sendmail root 30 5 1 * * root /etc/monthly 2>&1 | sendmail root # They all run as root (which makes sense). > In general, are the permissions in /usr/src/etc designed to > be right, or designed to need configuration? /usr/src/etc is touched. I'd refer back to your old /etc (which you probably didn't back up, which you should have since your services file is now toasted). 644 makes more sense, or even 600 (does anyone really _need_ to see the maintenance scripts?). Doug White | University of Oregon Internet: dwhite@resnet.uoregon.edu | Residence Networking Assistant http://gladstone.uoregon.edu/~dwhite | Computer Science Major