This content has been marked as final. Show 4 replies
Are you extracting the files as root also?
Try recovering with different user ID and if still appears as root the ownership try with -R option to change the userID for all.
To have the default user while extracting, please use option "o" along with "x".
I.e tar -xovf <filename.tar>
Sun9 man page says;
o Ownership. Assign to extracted files the user and
group identifiers of the user running the program,
rather than those on tarfile. This is the default
behavior for users other than root. If the o function
modifier is not set and the user is root, the
extracted files will take on the group and user iden-
tifiers of the files on tarfile