file browser copies folder into own subfolder recursively

Bug #232190 reported by David Balažic
42
Affects Status Importance Assigned to Milestone
Nautilus
Fix Released
Medium
nautilus (Ubuntu)
Fix Released
Medium
Ubuntu Desktop Bugs
Hardy
Fix Released
Medium
Ubuntu Desktop Bugs

Bug Description

Binary package hint: nautilus

ubuntu 8.04 i386 desktop CD fresh install

In File Browser if the user drags a folder (the "box" in the path, see picture) into its own content,
then it will make a copy of the folder in its own subfolder, thereby making an infinite recursion.

It should detect and refuse the bad copy procedure.

Currently it starts copying, until it hits some limit of the system (disk space, max path length etc.) and then reports an error.

Revision history for this message
David Balažic (xerces8) wrote :
Revision history for this message
Pedro Villavicencio (pedro) wrote :

confirming, will look upstream.

Changed in nautilus:
assignee: nobody → desktop-bugs
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
Pedro Villavicencio (pedro) wrote :

there's an upstream bug about it here: http://bugzilla.gnome.org/show_bug.cgi?id=530720

Changed in nautilus:
status: Confirmed → Triaged
Changed in nautilus:
status: Unknown → Fix Released
Revision history for this message
Sebastien Bacher (seb128) wrote :

the issue has been fixed upstream and a new version should be uploaded as an hardy update next week

Changed in nautilus:
status: Triaged → Fix Committed
Changed in nautilus:
assignee: nobody → desktop-bugs
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
Sebastien Bacher (seb128) wrote :
Revision history for this message
Martin Pitt (pitti) wrote :

Accepted into -proposed, please test and give feedback here

Changed in nautilus:
status: Confirmed → Fix Committed
Revision history for this message
Pedro Villavicencio (pedro) wrote :

verification done:

- test with nautilus from hardy (1:2.22.2-0ubuntu6), after drag a directory from the location bar into itself on the nautilus window, it start to make a copy of the folder in it's own subfolder doing an infinite recursion.
- test with nautilus from proposed (1:2.22.3-0ubuntu2), after drag a directory from the location bar into itself on the nautilus window, an error is thrown : "You cannot copy a folder into itself." "The destination folder is inside the source folder." , there's no recursion copy or anything, the bug is fixed, thanks.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package nautilus - 1:2.23.2-0ubuntu1

---------------
nautilus (1:2.23.2-0ubuntu1) intrepid; urgency=low

  * New upstream versions:
    - Increase default thumbnailing size limit
    - Various fixes to keyboard handling in icon and list view (lp: #64289)
    - Use description from gio as window title
    - Fix double click behaviour in list view (lp: #120746)
    - Remember windows size when closed while maximized (lp: #137479)
    - Always use single click policy in the places sidebar
    - Fix selection handling after canceling delete operation
    - Improve autorun behaviour
    - Improve internal error handling
    - Fix adding emblems (lp: #224162)
    - Fix gconf preferences description
    - Improve list column page indentation
    - Prevent recursive move/copy into itself (lp: #232190)
    - Show mount dialog for already mounted shares too
    - Prevent autogenerated file names from overflowing the max filename length
    - Use ellipsis as per HIG
    - Fix leaks
    - Fix crashes (lp: #232522)
    - Build fixes
    - Translation updates
    - Support new gnome-session autostart semantics.
    - Unify session save/restore routines with "--restart" and "--load-session"
    - Allow to invert selection (lp: #18636)
    - Do not automount mount points inside hidden hierarchies
    - Add NautilusFileInfo APIs: can_write
    - Add initial Gtk-doc support.
    - Remove some dead code.
  * Sync with Debian
  * debian/control.in:
    - Build-Depends on liblaunchpad-integration-dev
    - don't build using beagle and tracker
    - don't require desktop-base and libesd
    - nautilus Recommends gnome-app-install
    - nautilus-data Replaces nautilus (<< 2.16) for dapper upgrades
    - nautilus Suggests gamin before fam
    - updated maintainer information
  * debian/mount-archive.desktop,
    debian/mount-archive.desktop.in,
    debian/nautilus.install:
    - new nautilus context menu item to allow mounting zip, iso, etc
  * debian/nautilus.1:
    - use correct command
  * debian/nautilus-data.gconf-schemas:
    - change the default desktop configuration.
  * debian/patches/01_lpi.patch:
    - launchpad changes.
  * debian/patches/02_autoconf.patch:
    - configure update.
  * debian/patches/03_menu_entry.patch:
    - change the menu item category.
  * debian/patches/05_places-sidebar_single-click.patch:
    - dropped, the new version has a similar change
  * debian/patches/08_display_mimetype_warning.patch:
    - new "preferences/display_mimetype_warning" gconf key which allow to use
      or not the mismatching mimetype warning dialog (Ubuntu: #19101)
  * debian/patches/10_rename_desktop.patch:
    - make renaming of a .desktop work with the language packs too
  * debian/patches/15_translations_list_update.patch:
    - list the new desktop as translatable
  * debian/patches/80_suppress_umount_in_ltsp.patch:
    - don't list unmount and eject actions on ltsp clients
  * debian/patches/81_gnome-app-install.patch:
    - Invoke gnome-app-install when no application known for file.
  * debian/rules:
    - updated shlibs version

 -- Sebastien Bacher <email address hidden> Tue, 03 Jun 2008 11:13:32 +0200

Changed in nautilus:
status: Fix Committed → Fix Released
Revision history for this message
Martin Pitt (pitti) wrote :

Copied to hardy-updates.

Changed in nautilus:
status: Fix Committed → Fix Released
Changed in nautilus:
importance: Unknown → Medium
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.