ajmcello <[email protected]> ha escrit: > Hi. I thought I would forward this to the tar group. Is it possible to > have tar fallback to UID and GID 0 or the owner and group of the person > running tar in the event that it cannot change it, particularly over > NFS?
Currently it is not possible to fallback to another uid/gid if tar was unable to set them. However, it is possible to override the uid/gid values stored in the archive. For example, to extract all files from `a.tar' as owned by user with uid=100 and gid=1000, run: tar -x -f a.tar --pax-option uid=100,gid=1000 Hope that helps. Regards, Sergey
