Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 May 1997 01:46:58 -0700 (PDT)
From:      "Andrey A. Chernov" <ache@FreeBSD.ORG>
To:        CVS-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-usrsbin@FreeBSD.ORG
Subject:   cvs commit:  src/usr.sbin/mtree mtree.c
Message-ID:  <199705150846.BAA17654@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
ache        97/05/15 01:46:58

  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.
  
  2) Mtree can't deal with symlinks properly in any case (they are created
  separately in other places now), so we lost no functionality by making
  them invisible for mtree.
  
  Revision  Changes    Path
  1.5       +1 -1      src/usr.sbin/mtree/mtree.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199705150846.BAA17654>