On Sun, 17 Oct 1999, Todd A. Jacobs wrote:
>I had problems unpacking the tarball. The tarball unpacks, but for some
>reason the user/owner settings are really, really weird on my system. When
>I list the archive, a number of files are owned by tom/users. No matter
>what I do with tar, this file unpacks as qmailp/users when untarred as
>root. When untarred as a regular user, however, it gets owned by that
>user.

This is not a problem with the tarball.

The files in a tarball have a note of the userid and groupid they were
originally (when being tarred up); although you see the original
names, when you untar something that used to belong to 'tom' (who is,
let us say, userid 1045 on his system), it now belongs to whoever
userid 1045 is on your system.

However, a regular user cannot give files away - cannot set their
ownership to anything other than his own - so when a regular user
untars it you don't get this effect.

-- 
David Damerell, Computer Officer, Department of Chemistry, Cambridge
Work: [EMAIL PROTECTED]    Personal: [EMAIL PROTECTED]

Reply via email to