[ale] weird tgz shenanigans
Michael D. Hirsch
mhirsch at nubridges.com
Thu Dec 5 17:20:25 EST 2002
On Thursday 05 December 2002 05:01 pm, Jeff Rose wrote:
> Now this doesn't make sense. Someone please explain this. michele has
> a different gid and uid than root. michele does not have the same
> permissions as root. If I set either/both the group or owner to
> root/jeff, michele can't untar. But of course root can. If I set
> owner/group to the user walter or jeff and extract, the files belong to
> walter or jeff respectively. But when the owner/group is set to root and
> untarred by root, the files are still owned by michele! This is not the
> case for all .tgz files I download. Why do some files do this? How can
> I predict which files will do this?
> Could it be that tar wants to set the permissions as close to what they
> were when tarred as possible and it just so happens Michele's is the
> closest id? This seems very strange to me.
We need to know more than just the user names. What was the uid and gid on
the machine where the tar was built? What is the uid/gid on the machine
after extraction? What is your uid/gid and what is michele's uid/gid on
both machines. It seems likely that they differ on the two machines.
Michael
_______________________________________________
Ale mailing list
Ale at ale.org
http://www.ale.org/mailman/listinfo/ale
More information about the Ale
mailing list