Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. 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>

<? include("footer.php"); ?>
      <div class="clear"></div>
<? include("footer.php"); ?>

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
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.