Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I'm facing a strange problem. My development machine was recently moved to Ubuntu. When I edit files situated in a network server (LAN) and then save, the files are getting corrupted. In all cases a few lines from the bottom portion of the source file is being copied/pasted twice. Like this:-

         .......................
        ......................
        <div class="corner_lt2"></div>

        <div class="corner_rt2"></div>

      </div>

    </div>

  </div>

  <div class="clear"></div>

See how the footer and the previous line is copied twice.

In both Eclipse and NetBeans, I'm accessing the files like this:

/home/user/.gvfs/server1 on 192.168.1.5/MyProject/file.php

gedit works fine, which is accessing the files via smb.

The network server is running RedHat. Also there are other users editing the files through gvfs using both Eclipse and NetBeans and they say the haven't this problem.

Anyone knows any solutions or or workarounds?

share|improve this question

closed as off topic by Marco Ceppi Oct 17 '12 at 2:47

Questions on Ask Ubuntu are expected to relate to Ubuntu within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here.If this question can be reworded to fit the rules in the help center, please edit the question.

    
I don't see anything duplicate, it is **l**t2 and **r**t2 … –  queueoverflow Oct 13 '11 at 12:53
    
Looks like a bug to me. The fact that it works over samba and then fails over .gvfs is what makes me say so. Have you tried mounting via samba and using netbeans/eclipse that way? If so, and it works perhaps you should file bug reports. –  hbdgaf Apr 8 '12 at 0:46
    
This question should instead be filed as a bug report, and as such is off-topic, thanks! Instructions on filing a bug report are here. –  Jorge Castro Oct 16 '12 at 0:37
    
I got the issue is in Ubuntu 10.10 only. So is it useful to file a bug now. (Now that we are close to 12.10) –  Sparky Oct 16 '12 at 4:33

Browse other questions tagged or ask your own question.