On 03/12/13 13:12, Glauber Costa wrote: > The only option becomes to create a separate user namespace just to > extract the file, which means always having a helper script for > situations like that. At this point, I personally think it is a lot > easier to just augment the tooling with such capability.
If you write a helper script, it should work with any application without having to change the helper script or the application. The application could be any program that maps user names to user IDs: GNU Tar, some other tar implementation, cpio, stat, etc. If you modify GNU Tar, that works only for GNU Tar.