[Top][All Lists]

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

Re: Guix binary tarball

From: Ludovic Courtès
Subject: Re: Guix binary tarball
Date: Sun, 17 May 2015 23:34:49 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

Mark H Weaver <address@hidden> skribis:

> Andreas Enge <address@hidden> writes:
>>> > Could these directories be left out of the tarball and only their
>>> > contents be kept in?
>>> No.  Maybe we can fix it by using two tar invocations with different
>>> --owner.
>> Well, you never know what permissions the directories have on the target
>> machine, and these are also changed. Maybe one needs to untar with particular
>> options.
> I looked in the GNU tar manual, and found this:
> `--no-overwrite-dir'
>      Preserve metadata of existing directories when extracting files
>      from an archive.  *Note Overwrite Old Files::.

I experimentally determined that --no-overwrite-dir has no effect but
that --skip-old-files does what we need: ownership and permissions on
/var and /root are preserved, and files are extracted correctly in those
directories.  Hence 8c3a5d7.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]