From owner-freebsd-questions Wed Apr 7 15:28: 9 1999 Delivered-To: freebsd-questions@freebsd.org Received: from pluto.plutotech.com (mail.plutotech.com [206.168.67.137]) by hub.freebsd.org (Postfix) with ESMTP id 9CA1C15012 for ; Wed, 7 Apr 1999 15:28:01 -0700 (PDT) (envelope-from drew@plutotech.com) Received: from dune.plutotech.com (drew@dune.plutotech.com [206.168.67.170]) by pluto.plutotech.com (8.9.2/8.9.1) with ESMTP id QAA88489; Wed, 7 Apr 1999 16:25:58 -0600 (MDT) (envelope-from drew@plutotech.com) From: Drew Eckhardt Received: (from drew@localhost) by dune.plutotech.com (8.9.2/8.9.2) id QAA44942; Wed, 7 Apr 1999 16:25:58 -0600 (MDT) (envelope-from drew@mail.plutotech.com) Date: Wed, 7 Apr 1999 16:25:58 -0600 (MDT) Message-Id: <199904072225.QAA44942@dune.plutotech.com> To: dave@dreksys.com, freebsd-questions@freebsd.org Subject: Re: illegal paths X-Newsgroups: pluto.freebsd.questions In-Reply-To: <002b01be810b$6447c100$05c809c0@versa> Organization: Cc: Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In article <002b01be810b$6447c100$05c809c0@versa> you write: >checking setuid files and devices: >find: /usr/local/www/clients/pkg/3Com/DSG PR 89-0848-000 Shipment >Preparation.doc: illegal path >find: /usr/home/robert/public/Amber's School Stuff/wadr98e.pdf: illegal path > >The files seem to be perfectly accessible, so are they really illegal? No. >or is the daily check in need of an update to be able to recognize these as >legitimate file paths? Perhaps. Historically, /etc/daily did this find / ! -fstype local -a -prune -o -name cache* -a -type d -print | \ while read d do find $d -a -type f -a -atime +3 -exec rm -f -- {} \; done which could be abused by creating directories like this ~/./ .. /tmp/cache /tmp/cache or ~/. -name foo -a -exec rm -rf .. -o -name /tmp/cache Spewage like this would alert one to the problem, although it is wrong. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message