I would like to create a tar file with contents belonging to an owner:group pair who do not exist on the system from which the file is being made.
Here's the direction I've tried:
tar ca --owner='otherowner' --group='othergroup' mydata.tgz mydata
And when running this command, I get the following error:
tar: otherowner: Invalid owner tar: Error is not recoverable: exiting now
Is there a way to force tar to accept the owner:group, even though neither of them exist on the system from which the file is being created?