bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: tar suggestions


From: David Haigh
Subject: Re: tar suggestions
Date: Tue, 03 Jul 2001 13:10:31 -0700

Eli Zaretskii wrote:
> 
> > From: "David Haigh" <address@hidden>
> > Date: Tue, 03 Jul 2001 11:27:06 -0700
> >
> > I'd like to see an option to allow the extraction of the absolute
> > path in a tar file. I like that GNU tar defaults to extracting a
> > relative path, however there are times I would really like the
> > ability to extract the full path.
> 
> You mean, like "tar -P" does?

Does it?

     p         Restore the named files to their  original  modes,
               and  ACLs  if  applicable,  ignoring  the  present
               umask(1). This is the default behavior if  invoked
               as  super-user  with  the x function letter speci-
               fied. If super-user, SETUID and sticky information
               are  also  extracted,  and files are restored with
               their original owners and permissions, rather than
               owned by root. When this function modifier is used
               with the c function, ACLs are created in the  tar-
               file  along  with  other  information. Errors will
               occur when a tarfile with  ACLs  is  extracted  by
               previous versions of tar .

     P         Suppress the addition of a trailing "/" on  direc-
               tory entries in the archive.

-- 
+-----------------------------------------------------------------+
| David A. Haigh                                                  | 
| Alcatel USA    Wire Line Access                                 | 
| 1400 McDowell Blvd, Petaluma, CA 94954                          | 
| phone:  (707)7927-007   <--- Yes double "O" seven!              | 
| fax:    (707)792-7059                                           | 
| e-mail: address@hidden                             | 
+-----------------------------------------------------------------+
The opinions represented herein are not necessarily those of Alcatel



reply via email to

[Prev in Thread] Current Thread [Next in Thread]