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

Re: tar converts simlinks to directories



Hi Robert,

On Tue, May 14, 2002 at 02:33:48PM +0200, Robert Millan wrote:
> A command like "tar -C / -xf package.tar" will destroy the /usr
> simlink of my system if package.tar contains a /usr directory,
> which replaces the simlink. note that all Debian packages
> contain a /usr directory.
> 
> This behaviour isn't new in tar, version 1.13.17-2 does
> the same.
> 
> Am I missing some option for tar not to override simlinks?

maybe -k ?
 
> Besides, dpkg passes either "-xf" or "-xpf". I have tried
> both manualy, and both destroy the simlink.
> 
> Does anyone know why dpkg calling tar doesn't destroy
> the /usr simlink?

have you looked the src ?

guillem


-- 
To UNSUBSCRIBE, email to debian-hurd-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: