[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-tar] bug with tar and preserving UID and GID over NFS
From: |
Sergey Poznyakoff |
Subject: |
Re: [Bug-tar] bug with tar and preserving UID and GID over NFS |
Date: |
Thu, 30 Jul 2009 11:58:33 +0300 |
ajmcello <address@hidden> 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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [Bug-tar] bug with tar and preserving UID and GID over NFS,
Sergey Poznyakoff <=