[Bug 491288] Re: File corruption after copying files via samba from Karmic to Karmic

2010-04-07 Thread littlebat
I met the similar bug when I copy a file from Ubuntu 6.06 Server into
Ubuntu 9.10 via samba server on Ubuntu 9.10.

Server end:
OS: Ubuntu 9.10 upgrade from Ubuntu 9.04 Netbook Remix
samba server version: Samba 3.4.0
the version result of dpkg -s samba is: Version: 2:3.4.0-3ubuntu5.6

the content in /etc/samba/smb.conf:
[global]
workgroup = WORKGROUP
security = share
guest ok = yes
[test] 
comment = For testing only, please
path = /var/sambatest
browseable = yes
writeable = yes

Client end:
OS: Ubuntu 6.06 Server
mount.cifs version: 1.10
mount commend line: sudo mount.cifs //192.168.1.100/test /media/tmp -o guest,rw

When copy a *.tar.gz file from Ubuntu 6.06 into Ubuntu 9.10, the file
become corrupted.

execute file command in Ubuntu 6.06 on the initial good file:
file wpaudio.tar.gz
wpaudio.tar.gz: gzip compressed data, from Unix

execute file command in both Ubuntu 6.06 and Ubuntu 9.10 on the corrupted 
file:
file wpaudio.corrupted.tar.gz
wpaudio.corrupted.tar.gz: data

the corrupted file can't be extracted with tar xfvz wpaudio.corrupted.tar.gz, 
it reports:
gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Exiting with failure status due to previous errors

I attached these two files.

After read this reported bug, I also test copy a mp3 file through samba. 
Although the copied mp3 file on Ubuntu 9.10 can be played by smplayer, but when 
I execute file command on it, it says:
file *.mp3 
test.mp3: data

When I execute file command on the good one in Ubuntu 6.06, it says:
file *.mp3
test.mp3: MPEG ADTS, layer III, v1, 192 kBits, 44.1 kHz, JntStereo

I think this mp3 is corrupted too.

I compile a samba 3.5.1 from source on Ubuntu 9.10, and repeat the copy
process from Ubuntu 6.06 to Ubuntu 9.10 through samba 3.5.1 server on
Ubuntu 9.10. And no error found.

-- 
File corruption after copying files via samba from Karmic to Karmic
https://bugs.launchpad.net/bugs/491288
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 491288] Re: File corruption after copying files via samba from Karmic to Karmic

2010-04-07 Thread littlebat
I met the similar bug when I copy a file from Ubuntu 6.06 Server into
Ubuntu 9.10 via samba server on Ubuntu 9.10.

Server end:
OS: Ubuntu 9.10 upgrade from Ubuntu 9.04 Netbook Remix
samba server version: Samba 3.4.0
the version result of dpkg -s samba is: Version: 2:3.4.0-3ubuntu5.6

the content in /etc/samba/smb.conf:
[global]
workgroup = WORKGROUP
security = share
guest ok = yes
[test] 
comment = For testing only, please
path = /var/sambatest
browseable = yes
writeable = yes

Client end:
OS: Ubuntu 6.06 Server
mount.cifs version: 1.10
mount commend line: sudo mount.cifs //192.168.1.100/test /media/tmp -o guest,rw

When copy a *.tar.gz file from Ubuntu 6.06 into Ubuntu 9.10, the file
become corrupted.

execute file command in Ubuntu 6.06 on the initial good file:
file wpaudio.tar.gz
wpaudio.tar.gz: gzip compressed data, from Unix

execute file command in both Ubuntu 6.06 and Ubuntu 9.10 on the corrupted 
file:
file wpaudio.corrupted.tar.gz
wpaudio.corrupted.tar.gz: data

the corrupted file can't be extracted with tar xfvz wpaudio.corrupted.tar.gz, 
it reports:
gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Exiting with failure status due to previous errors

I attached these two files.

After read this reported bug, I also test copy a mp3 file through samba. 
Although the copied mp3 file on Ubuntu 9.10 can be played by smplayer, but when 
I execute file command on it, it says:
file *.mp3 
test.mp3: data

When I execute file command on the good one in Ubuntu 6.06, it says:
file *.mp3
test.mp3: MPEG ADTS, layer III, v1, 192 kBits, 44.1 kHz, JntStereo

I think this mp3 is corrupted too.

I compile a samba 3.5.1 from source on Ubuntu 9.10, and repeat the copy
process from Ubuntu 6.06 to Ubuntu 9.10 through samba 3.5.1 server on
Ubuntu 9.10. And no error found.


** Attachment added: wpaudio.tar.gz
   http://launchpadlibrarian.net/43337170/wpaudio.tar.gz

-- 
File corruption after copying files via samba from Karmic to Karmic
https://bugs.launchpad.net/bugs/491288
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 491288] Re: File corruption after copying files via samba from Karmic to Karmic

2010-04-07 Thread littlebat

** Attachment added: wpaudio.corrupted.tar.gz
   http://launchpadlibrarian.net/43337190/wpaudio.corrupted.tar.gz

-- 
File corruption after copying files via samba from Karmic to Karmic
https://bugs.launchpad.net/bugs/491288
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 491288] Re: File corruption after copying files via samba from Karmic to Karmic

2010-04-07 Thread littlebat
BTW: the little *.tar.gz file (e.g., only compressed from a text file
include only one line text) has no error when copy through Ubuntu 9.10
samba server.

Chuck Short  wrote on 2009-12-07:
 This might be bug 6606 which is fixed upstream. The link of bug 6606: 
https://bugs.launchpad.net/bugs/6606  is wrong.

-- 
File corruption after copying files via samba from Karmic to Karmic
https://bugs.launchpad.net/bugs/491288
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 491288] Re: File corruption after copying files via samba from Karmic to Karmic

2010-04-07 Thread littlebat
Copying file from Windows XP to my Ubuntu 9.10 via samba server on Ubuntu 9.10 
has no errors.
Copying file from Ubuntu 9.10 to a client end via samba server on Ubuntu 9.10 
has no errors too.

-- 
File corruption after copying files via samba from Karmic to Karmic
https://bugs.launchpad.net/bugs/491288
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs