replacing a symlink with its linked file truncates the original file

Bug #296484 reported by Fabus
6
Affects Status Importance Assigned to Milestone
Nautilus
Fix Released
Critical
nautilus (Ubuntu)
Fix Released
High
Ubuntu Desktop Bugs

Bug Description

Use nautilus to do the following:
* Create file "test"
* Make link to file "test" in a separate folder "a"
* Rename link to "test"
* Copy the original file "test" into folder "a"
* Confirm you want to replace the file
Result:
* The original file is truncated and the link remains the same
Expected behavior:
* The link is replaced with a copy of the original file

Revision history for this message
Anthony Noto (angusthefuzz) wrote :

Thank you for reporting this bug and helping to make Ubuntu better. Please indicate which version of Ubuntu you are currently using. After explicitly following your instructions I was unable to recreate your bug on Ubuntu 8.10 or 8.04.1. The expected behavior you described was the result I obtained. Perhaps you could elaborate further or post a video screencast of the behavior. Thanks in advance.

Changed in nautilus:
status: New → Incomplete
Revision history for this message
Fabus (fabian-gebert-hh) wrote :

It happens with 8.10 fresh install, no update. The amd64 edition, Ubuntu Desktop, no patches or custom packages.

Revision history for this message
Anthony Noto (angusthefuzz) wrote :

Thank you for posting the screenshot. I am now able to recreate the bug, and I am marking this report confirmed. This bug does not occur when the original file is moved into the directory, only when it is copied. Please verify that this statement is also what you observe. Thanks for taking the time to make Ubuntu better!

Changed in nautilus:
status: Incomplete → Confirmed
description: updated
Revision history for this message
Dimitrios Symeonidis (azimout) wrote :

should be reported upstream!

Changed in nautilus:
importance: Undecided → High
status: Confirmed → Triaged
Revision history for this message
Fabus (fabian-gebert-hh) wrote :

Anthony, I can confirm moving the file works. The bug only occurs when copying the file.

Changed in nautilus:
assignee: nobody → desktop-bugs
Changed in nautilus:
status: Unknown → Confirmed
Changed in nautilus:
status: Confirmed → Fix Released
Revision history for this message
Sebastien Bacher (seb128) wrote :

the issue is fixed in jaunty now

Changed in nautilus (Ubuntu):
status: Triaged → Fix Released
Changed in nautilus:
importance: Unknown → Critical
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.