Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Mar 2006 12:42:22 +0000
From:      Ceri Davies <ceri@submonkey.net>
To:        Pat Maddox <pergesu@gmail.com>, FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: Daily chksetuid script - how to ignore certain dirs/filesystems?
Message-ID:  <C043022E.ABDA%ceri@submonkey.net>
In-Reply-To: <810a540e0603190258u6717013fybf3d5f0dad32d5a9@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 19/3/06 10:58, "Pat Maddox" <pergesu@gmail.com> 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.

Ceri
-- 
That must be wonderful!  I don't understand it at all.
                                      -- Moliere






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?C043022E.ABDA%ceri>