Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

You must log in to answer this question.

Browse other questions tagged .