From owner-freebsd-questions@FreeBSD.ORG Sun Mar 19 16:47:23 2006 Return-Path: X-Original-To: questions@FreeBSD.org Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ED0CA16A401 for ; Sun, 19 Mar 2006 16:47:23 +0000 (UTC) (envelope-from ceri@submonkey.net) Received: from shrike.submonkey.net (cpc2-cdif2-0-0-cust107.cdif.cable.ntl.com [81.104.168.108]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4C1A543D45 for ; Sun, 19 Mar 2006 16:47:23 +0000 (GMT) (envelope-from ceri@submonkey.net) Received: from ceri by shrike.submonkey.net with local (Exim 4.60 (FreeBSD)) (envelope-from ) id 1FL13q-000LWg-09 for questions@FreeBSD.org; Sun, 19 Mar 2006 16:47:22 +0000 Resent-From: ceri@submonkey.net Resent-Date: Sun, 19 Mar 2006 16:47:21 +0000 Resent-Message-ID: <20060319164721.GB88328@submonkey.net> Resent-To: questions@FreeBSD.org X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on shrike.private.submonkey.net X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00,NO_RELAYS autolearn=ham version=3.1.0 Received: from ceri by shrike.submonkey.net with local (Exim 4.60 (FreeBSD)) (envelope-from ) id 1FL11v-000GJG-G4; Sun, 19 Mar 2006 16:45:23 +0000 Date: Sun, 19 Mar 2006 16:45:23 +0000 From: Ceri Davies To: Pat Maddox Message-ID: <20060319164523.GA88328@submonkey.net> Mail-Followup-To: Ceri Davies , Pat Maddox References: <810a540e0603190258u6717013fybf3d5f0dad32d5a9@mail.gmail.com> <810a540e0603190725lcd02074s30474611d3d23fe1@mail.gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="tThc/1wpZn/ma/RB" Content-Disposition: inline In-Reply-To: <810a540e0603190725lcd02074s30474611d3d23fe1@mail.gmail.com> X-PGP: finger ceri@FreeBSD.org User-Agent: Mutt/1.5.11 Sender: Ceri Davies Resent-Sender: Ceri Davies Resent-Date: Sun, 19 Mar 2006 16:47:22 +0000 Cc: Subject: Re: Daily chksetuid script - how to ignore certain dirs/filesystems? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Mar 2006 16:47:24 -0000 --tThc/1wpZn/ma/RB Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Mar 19, 2006 at 08:25:04AM -0700, Pat Maddox wrote: > On 3/19/06, Ceri Davies wrote: > > On 19/3/06 10:58, "Pat Maddox" wrote: > > > > > I have a backup script that runs every night, backing up everything to > > > a backup drive. When the security script runs, it finds a bunch of > > > setuid files at /backup - I'd like to ignore those files, so I don't > > > have to wade through them every day. I also back up to a remote > > > server and it results in the same thing. How can I make it skip over > > > the backup dir, or at least ignore it in the output? The cron file in > > > question is /etc/periodic/security/100.chksetuid > > > > The best way to be to mount /backup nosuid. >=20 > How about on the other server? The files go to the /home partition > (and that's where they have to go). I'd do the same there unless there is a good reason not to (and the same for /tmp, /var/, etc) as SOP anyway. Ceri --=20 That must be wonderful! I don't understand it at all. -- Moliere --tThc/1wpZn/ma/RB Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (FreeBSD) iD8DBQFEHYqjocfcwTS3JF8RAhG+AJ91Sa/4L4kW/d12s9t4F/fJk5BulgCgtFet cOTqLi9LxrrUSnuDB4WZepg= =5Osm -----END PGP SIGNATURE----- --tThc/1wpZn/ma/RB--