Bug 4239 - Tar option strips leading period from file name
Tar option strips leading period from file name
Status: NEW
Product: Samba 3.0
Classification: Unclassified
Component: smbclient
x86 Linux
: P3 normal
: none
Assigned To: Holger Hetterich
Samba QA Contact
Depends on:
  Show dependency treegraph
Reported: 2006-11-20 10:05 UTC by Jonathan Fine
Modified: 2010-12-07 07:18 UTC (History)
0 users

See Also:

proposal (1.04 KB, patch)
2010-12-07 07:18 UTC, Holger Hetterich
hhetter: review? (jra)

Note You need to log in before you can comment on or make changes to this bug.
Description Jonathan Fine 2006-11-20 10:05:00 UTC
As summary.  See below
[jf3243@pheasant CVSROOT]$ touch .wibble
[jf3243@pheasant CVSROOT]$ tar -cvf xxx.tar .wibble
[jf3243@pheasant CVSROOT]$ smbclient -k //esaki/LTS-Common\$  -Txq xxx.tar
OS=[Windows 5.0] Server=[Windows 2000 LAN Manager]
restore tar file \wibble of size 0 bytes
tar: restored 1 files and directories
Comment 1 Holger Hetterich 2010-12-07 07:18:10 UTC
Created attachment 6121 [details]

The attached patch would fix this. However, this is questionable.
Leading periods seem to be removed by intend, to make them MSDOS compatible.

To that point I have found no hint in 


that .foo would be an illegal filename.