The Samba-Bugzilla – Bug 4239
Tar option strips leading period from file name
Last modified: 2010-12-07 07:18:10 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
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.