[Bug 1638] tar01/tar02 tarballs contain non-deterministic uids/gids + permissions

bugzilla-daemon at rtems.org bugzilla-daemon at rtems.org
Wed Jul 28 14:37:44 UTC 2010


--- Comment #1 from Joel Sherrill <joel.sherrill at oarcorp.com> 2010-07-28 09:37:44 CDT ---
I had considered adding a file with permissions, uid/gid and md5sums which the
test would validate.  But that would require more host magic and we had enough
host magic to solve first.

A simpler solution would be something like this.

chown UUU.GGG file

where UUU and GGG are numeric ids.  But I get an error on the host
doing that.

$ touch joel
$ chown 7.7 joel
chown: changing ownership of `joel': Operation not permitted

I don't see a way in pax to force the uid/gid when you are writing.  It looks
like GNU tar has an option which might do this but the man page says 

              force NAME as owner for added files

I don't know whether using that with the option to use numeric ids will help.

Configure bugmail: https://www.rtems.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.

More information about the bugs mailing list