From owner-freebsd-current Sun Jun 17 15:15:59 2001 Delivered-To: freebsd-current@freebsd.org Received: from nagual.pp.ru (pobrecita.freebsd.ru [194.87.13.42]) by hub.freebsd.org (Postfix) with ESMTP id 0F7A537B403 for ; Sun, 17 Jun 2001 15:15:45 -0700 (PDT) (envelope-from ache@nagual.pp.ru) Received: (from ache@localhost) by nagual.pp.ru (8.11.4/8.11.4) id f5HMFLD45995; Mon, 18 Jun 2001 02:15:21 +0400 (MSD) (envelope-from ache) Date: Mon, 18 Jun 2001 02:15:17 +0400 From: "Andrey A. Chernov" To: Matt Dillon Cc: Jordan Hubbard , bde@zeta.org.au, imp@harmony.village.org, steveo@eircom.net, david@catwhisker.org, current@FreeBSD.ORG Subject: Re: symlink(2) [Was: Re: tcsh.cat] Message-ID: <20010618021515.B45861@nagual.pp.ru> References: <200106170518.f5H5I6V44586@harmony.village.org> <20010617113141A.jkh@osd.bsdi.com> <20010617231418.A60728@nagual.pp.ru> <200106172128.f5HLSe108208@earth.backplane.com> <20010618015913.A45621@nagual.pp.ru> <200106172204.f5HM46608526@earth.backplane.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200106172204.f5HM46608526@earth.backplane.com>; from dillon@earth.backplane.com on Sun, Jun 17, 2001 at 03:04:06PM -0700 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, Jun 17, 2001 at 15:04:06 -0700, Matt Dillon wrote: > What cases? In all my years of programming I've never once 'accidently' > created an empty symlink. The next example is fts-like activity - wrong final destination appearse which is dangerous for 'rm'. I.e. in some situation you can remove something like /kernel via specially constructed (by bad guy) empty simlink. -- Andrey A. Chernov http://ache.pp.ru/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message