[Exherbo-dev] can't install paludis after unpack currentr exherbo-x86 and chroot into it
lepaca at animebox.eu
Mon Jun 22 19:39:31 BST 2009
Thanks, I learned something :)
On Mon, 22 Jun 2009 11:48:12 +0200, Bernd Steinhauser
<exherbo at bernd-steinhauser.de> wrote:
> Quoting Lepaca Kliffoth <lepaca at animebox.eu>:
>> If I'm right and "-xvf" doesn't preserve permissions, you won't be able
>> upgrade or reinstall anything at all. I'm not _absolutely_ _sure_ this
>> the reason of the particular failure you're reporting, but I think you
>> should definitely try again after unpacking the tarball with "-xpvf"...
>> When `tar' is extracting an archive, it normally subtracts the
>> users' umask from the permissions specified in the archive and
>> uses that number as the permissions to create the destination
>> file. Specifying this option instructs `tar' that it should use
>> the permissions directly from the archive. *Note Writing::.
> Look at the manual:
> Create extracted files with the same ownership they have in the
> This is the default behavior for the superuser, so this option is
> meaningful only for non-root users, when tar is executed on those
> systems able to give files away.[...]
> Extract all protection information.
> This option causes tar to set the modes (access permissions) of
> extracted files exactly as recorded in the archive. If this option is
> not used, the current umask setting limits the permissions on
> extracted files. This option is by default enabled when tar is
> executed by a superuser.[...]
> So unless you extract the tarball as a normal user, it will preserve
> the permissions.
> Exherbo-dev mailing list
> Exherbo-dev at lists.exherbo.org
More information about the Exherbo-dev