From owner-cvs-usrsbin Thu May 15 05:03:10 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id FAA14989 for cvs-usrsbin-outgoing; Thu, 15 May 1997 05:03:10 -0700 (PDT) Received: from spinner.DIALix.COM (spinner.dialix.com [192.203.228.67]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id FAA14976; Thu, 15 May 1997 05:02:41 -0700 (PDT) Received: from spinner.DIALix.COM (localhost.dialix.com.au [127.0.0.1]) by spinner.DIALix.COM with ESMTP id UAA19575; Thu, 15 May 1997 20:02:28 +0800 (WST) Message-Id: <199705151202.UAA19575@spinner.DIALix.COM> X-Mailer: exmh version 2.0gamma 1/27/96 To: "Andrey A. Chernov" cc: CVS-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-usrsbin@FreeBSD.ORG Subject: Re: cvs commit: src/usr.sbin/mtree mtree.c In-reply-to: Your message of "Thu, 15 May 1997 01:46:58 MST." <199705150846.BAA17654@freefall.freebsd.org> Date: Thu, 15 May 1997 20:02:27 +0800 From: Peter Wemm Sender: owner-cvs-usrsbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk "Andrey A. Chernov" wrote: > Modified: usr.sbin/mtree mtree.c > Log: > Change FTS_PHYSICAL (not follow symlinks but return them) > to FTS_LOGICAL (follow symlinks and return their targets) > > Because > 1) In the real system there is a lot of symlinks nowdays over > /var, /spool, etc. Mtree can't do anything for them, i.e. change > permissions/owner. I.e. if you have /var/mail -> /somewhere > it will never be changed to group "mail" 775 like -current does now, > symlink totally confuses mtree. It should really set the owner of the symlinks now that it can be done with lchown(). I have been meaning to teach mtree about symlinks for some time now, but never quite had the nerve.. Cheers, -Peter