Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've got some troubles with a tar file that holds a backup. It was provided by our hosting provider and contains some strange file permissions.

When viewing with

tar tvf example.tar

I only get the symbolic owner information of each file (which do not match existing users in /etc/passwd). Now I want to investigate whether the numerical values, which should also be stored inside the tar, hold the correct values. Is there a convenient way to do so?


share|improve this question
up vote 7 down vote accepted

There is the --numeric-owner switch that gives the information that you want

tar --numeric-owner -tvf example.tar


          always use numbers for user/group names
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.