Maverick corrupts files on samba network shares

Bug #660955 reported by franco_bez
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
gvfs (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: gvfs

I can reproduce the bug 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.

Revision history for this message
franco_bez (franco-bez) wrote :

I think this bug is more related to gvfs than to samba
This is why I decided to report the bug here.

The bug ONLY occurs when the share is mounted via Nautilus. (This uses gvs, right ?)

When I mount the same share using the command line "smbmount" utility (as root) everything works like it should.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.