Public bug reported:

1. create a folder on your desktop
for example ~/Desktop/test/

2. mount an external usb on which there's a folder on which you don't have 
write permission
for example /media/usbdisk/nowrite/ root:root 755

3. cut your folder on the desktop & paste it on the usb folder using the gui,
which simply means:
- right-click on the folder "test" on your desktop and choose "cut"
- use pcmanfm to go to the usb folder and right-click on it and choose "past"

4. A window with the progress bar will open with an error on it saying
"test: Error creating directory: permission denied"

After that the original folder "test" on the desktop disappears, and of course 
there's no copy on the target folder.
As a consequence you loose your original folder and all data in it.

The original folder is removed while the error window is shown, the
removing process doesn't wait for the user to press the close button on
that window.

Tested with:
- pcmanfm 0.9.7 on lubuntu 10.10
- pcmanfm 0.9.9 on lubuntu 11.04
- pcmanfm 0.9.9 on ubuntu 11.04

here's the discussion on ubuntuforums:
http://ubuntuforums.org/showthread.php?t=1817738

** Affects: pcmanfm (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: cut-paste folder lubuntu pcmanfm write-permission

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/820865

Title:
  pcmanfm cut&paste a folder to a destination folder withouth write
  permission causes data loss

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pcmanfm/+bug/820865/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to