Created attachment 329232 [details] screenshot of gnomad2 Description of problem: gnomad2 has flaw that causes home directory contents to be deleted. Version-Release number of selected component (if applicable): 2.9.1 How reproducible: I would imagine completely reproducable but I already lost 10 days of work. Steps to Reproduce: 1.Open gnomad2 2.press CTRL-A to select all files 3.Right mouse click and select delete selected Actual results: Delete command traverses home directory and deletes all folders except defaults such as Videos, Downloads, etc. Expected results: Delete all music files selected Additional info: double period at top of list is the problem.
I can't replicate this, are you sure this appeared with gnomad 2.9.1 and not 2.9.0? In 2.9.1 the bug was fixed in this commit: http://gnomad2.cvs.sourceforge.net/viewvc/gnomad2/gnomad2/src/filesystem.c?r1=1.63&r2=1.64 As you can see from here it was tagged for 2.9.1: http://gnomad2.cvs.sourceforge.net/viewvc/gnomad2/gnomad2/src/filesystem.c?view=log
Linus, As noted in the title bar of the attached screenshot, I am running 2.9.1 I retrieved this software through PackageKit and not a direct download from anywhere else. Thank you, Bob
The problem is that I cannot replicate the erroneous behaviour here, this is 2.9.2 on F10 so I don't have exactly the same environment however. I have: * set up a dummy account from the user manager * log in to that account * start gnomad (2.9.2) * enter "Music" folder * select all files in the host view Ctrl+A (including "..") * choose delete * choose yes * home dir does not get deleted I'll push Gnomad 2.9.2 to F-9 updates and hope that solves the issue then, OK?
Linus, Thank you. I will test it completely as soon as I see the update come across. I will then let you know how I make out. Bob
gnomad2-2.9.3-1.fc9 has been submitted as an update for Fedora 9. http://admin.fedoraproject.org/updates/gnomad2-2.9.3-1.fc9
gnomad2-2.9.3-1.fc9 has been pushed to the Fedora 9 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing-newkey update gnomad2'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F9/FEDORA-2009-0742
I installed update 2.9.3 and same problem exists. I started with a blank Music directory, copied a number of files from Creative Jukebox, went to left pane, pressed CTRL-A, right mouse, delete selected and entire home directory disappeared. I am guessing that as long as the ellipse appears in the file list the delete command will traverse up the tree and delete everything. 2.6.27.9-73.fc9.i686 kernel with Fedora 9. Thank you, Bob
After some struggling I could finally reproduce the problem. The code avoids ".." and "." but not "/foo/Music/.." etc. Stupid me. Working on a fix!
Linus, I upgraded my computer to F10 yesterday and verified that the entire home directory is NOT deleted, but the folder Music is deleted. Definitely an improvement. I still have my computer with F9 imaged with Clonezilla. If you would like me to test anything under F9 please do not be afraid to ask. Thanks for the utility my MP3 player tends to take a beating! Bob
gnomad2-2.9.4-1.fc9 has been pushed to the Fedora 9 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing-newkey update gnomad2'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F9/FEDORA-2009-0930
I think this 2.9.4-1 release shall have the problem FINALLY fixed. It should not delete the Music folder either, so please verify this also...
gnomad2-2.9.4-1.fc9 has been pushed to the Fedora 9 stable repository. If problems still persist, please make note of it in this bug report.