Bug 1325 - tar always stores full path
Summary: tar always stores full path
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: smbclient (show other bugs)
Version: 3.0.2a
Hardware: All Solaris
: P3 normal
Target Milestone: none
Assignee: Samba Bugzilla Account
QA Contact:
: 1441 (view as bug list)
Depends on:
Reported: 2004-05-06 10:45 UTC by Mike
Modified: 2013-02-18 13:30 UTC (History)
1 user (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Mike 2004-05-06 10:45:36 UTC
I would like to be able to use sbmclient to create a tarfile of everything 
under a certain point in a CIFS directory tree and re-create that portion of 
the tree on another machine.  Whether I explicitly cd to the starting point or 
use the -D option, the tarfile still contains the entire path.

For example, consider a share that has the following directories:

I want to create a tar starting at /dirC/dirD, without the './dirC/dirD/' 
prepended to the filenames in the archive.  dirE should be represented in the 
archive as './dirE', not as './dirC/dirD/dirE'.
Comment 1 Mike 2004-05-06 10:48:34 UTC
I experience the same problem with Samba 2.2.7 on RedRat Linux 7.3.
Comment 2 Björn Jacke 2004-07-07 05:24:41 UTC
*** Bug 1441 has been marked as a duplicate of this bug. ***
Comment 3 Gerald (Jerry) Carter (dead mail address) 2004-11-11 13:51:47 UTC
The current behavrio is by design.  Patches are welcome.
closing until someone is willing to put in the time.