Public bug reported: I can always reproduce the bug, on any samba share, even on shares that reside on the same machine:
In Nautilus I right-click on a folder and chose "file sharing options" to make it a writable share. Then, again in Nautilus, I navigate to "network" and mount the share by clicking on it and supplying username and password. I created a new file on the share "sample.txt" with the following content: 01 sample line of text 02 sample line of text 03 sample line of text 04 sample line of text 05 sample line of text 06 sample line of text 07 sample line of text 08 sample line of text 09 sample line of text 10 sample line of text Then I removed the lines 02 up to 05 from the file and hit save. Editor shows: 01 sample line of text 06 sample line of text 07 sample line of text 08 sample line of text 09 sample line of text 10 sample line of text When I reopen the file the new content is: 01 sample line of text 06 sample line of text 07 sample line of text 08 sample line of text 09 sample line of text 10 sample line of text 07 sample line of text 08 sample line of text 09 sample line of text 10 sample line of text I tried several editors, several servers providing SAMBA shares (Ubuntu Hardy, Windows Vista, and my Maverick notebook) The result is always the same. A very, very nasty bug. See also https://bugs.launchpad.net/ubuntu/+source/samba/+bug/660747 I first tought it was a samba problem, but using the old kernel Linux 2.6.32-25-generic #44-Ubuntu SMP Fri Sep 17 20:05:27 UTC 2010 x86_64 GNU/Linux from Lucid - the bug is gone. ProblemType: Bug DistroRelease: Ubuntu 10.10 Package: linux-image-2.6.35-22-generic 2.6.35-22.34 Regression: Yes Reproducible: Yes ProcVersionSignature: Ubuntu 2.6.35-22.34-generic 2.6.35.4 Uname: Linux 2.6.35-22-generic x86_64 AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.23. AplayDevices: **** List of PLAYBACK Hardware Devices **** card 0: Intel [HDA Intel], device 0: ALC268 Analog [ALC268 Analog] Subdevices: 1/1 Subdevice #0: subdevice #0 Architecture: amd64 AudioDevicesInUse: USER PID ACCESS COMMAND /dev/snd/controlC0: franco 2395 F.... pulseaudio CRDA: Error: [Errno 2] No such file or directory Card0.Amixer.info: Card hw:0 'Intel'/'HDA Intel at 0xf0500000 irq 46' Mixer name : 'Realtek ALC268' Components : 'HDA:10ec0268,1025011b,00100003 HDA:11c11040,1025011b,00100200' Controls : 16 Simple ctrls : 10 Date: Sun Oct 17 21:55:47 2010 HibernationDevice: RESUME=UUID=ebc5a6f9-31bb-4ea5-a15c-af3057bb2081 InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027) MachineType: Acer, inc. TravelMate 6292 PccardctlIdent: Socket 0: no product info available PccardctlStatus: Socket 0: no card ProcCmdLine: BOOT_IMAGE=/vmlinuz-2.6.35-22-generic root=/dev/mapper/ubuntu-root ro quiet splash ProcEnviron: LANGUAGE=de_DE:de:en_GB:en PATH=(custom, user) LANG=de_DE.utf8 SHELL=/bin/bash RelatedPackageVersions: linux-firmware 1.38 SourcePackage: linux dmi.bios.date: 03/03/2008 dmi.bios.vendor: Acer dmi.bios.version: v1.3601 dmi.board.name: Victoria dmi.board.vendor: Acer, Inc. dmi.board.version: Not Applicable dmi.chassis.type: 1 dmi.chassis.vendor: Acer, Inc. dmi.chassis.version: N/A dmi.modalias: dmi:bvnAcer:bvrv1.3601:bd03/03/2008:svnAcer,inc.:pnTravelMate6292:pvrNotApplicable:rvnAcer,Inc.:rnVictoria:rvrNotApplicable:cvnAcer,Inc.:ct1:cvrN/A: dmi.product.name: TravelMate 6292 dmi.product.version: Not Applicable dmi.sys.vendor: Acer, inc. ** Affects: linux (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug kernel-fs maverick needs-upstream-testing regression-release -- Maverick 64Bit Desktop Edition corrupts files on samba network shares https://bugs.launchpad.net/bugs/662361 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs