NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: bin/54467: new tar overwrites symlinks to directories



The following reply was made to PR bin/54467; it has been noted by GNATS.

From: Joerg Sonnenberger <joerg%bec.de@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: bin/54467: new tar overwrites symlinks to directories
Date: Sat, 17 Aug 2019 21:37:44 +0200

 On Thu, Aug 15, 2019 at 04:25:00PM +0000, martin%NetBSD.org@localhost wrote:
 > The new tar(1) is overeager in restoring directories if those already exist
 > as a symlink to another directory.
 
 That's how it should behave. Seems like a bug in pax-as-tar if nothing
 else.
 
 > This kills updates on machines that have /usr as a symlink to someplace else
 > with our base.tgz containing
 > 
 > 	 drwxr-xr-x  0 root   wheel        0 Jul 14 16:36 ./usr
 
 This sounds like it is asking for trouble to me. Why would you ever want
 to make /usr a symlink?!
 
 Joerg
 


Home | Main Index | Thread Index | Old Index