Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 May 1997 20:02:27 +0800
From:      Peter Wemm <peter@spinner.DIALix.COM>
To:        "Andrey A. Chernov" <ache@FreeBSD.ORG>
Cc:        CVS-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-usrsbin@FreeBSD.ORG
Subject:   Re: cvs commit: src/usr.sbin/mtree mtree.c 
Message-ID:  <199705151202.UAA19575@spinner.DIALix.COM>
In-Reply-To: Your message of "Thu, 15 May 1997 01:46:58 MST." <199705150846.BAA17654@freefall.freebsd.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
"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





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