Bug 113583 - Trash - Cannot Delete Folders on Ext3 Partition
Summary: Trash - Cannot Delete Folders on Ext3 Partition
Status: RESOLVED FIXED
Alias: None
Product: SUSE LINUX 10.0
Classification: openSUSE
Component: KDE (show other bugs)
Version: Beta 3
Hardware: i686 SUSE Other
: P5 - None : Major
Target Milestone: ---
Assignee: E-mail List
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-27 19:36 UTC by Alex Radu
Modified: 2005-09-07 18:06 UTC (History)
0 users

See Also:
Found By: Other
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alex Radu 2005-08-27 19:36:45 UTC
I just ran Konqueror as root and pointed it to hda5, (SUSE is on hdb1 and   
hdb2) and tried to delete a folder. Here is the error I received:   
  
Error - Konqueror  
  
"Creating folders is not supported with protocol trash."  
  
Creating folders? I only want to delete a folder. This is really bothering me,  
because I keep all my personal files on the hda5 partition and not being able  
to delete folders means I can't manage my data.  
  
Strangely enough, individual files can indeed be deleted on the ext3  
partition.
Comment 1 Stephan Kulow 2005-08-28 08:56:30 UTC
stay away from he priorities! 
Comment 2 Alex Radu 2005-08-28 16:47:28 UTC
Sorry, I thought not being able to delete stuff was pretty important. Do you
want me to lower the severity too?
Comment 3 Dirk Mueller 2005-08-28 23:02:32 UTC
the severity is your choice, the priority is ours.  
Comment 4 Alex Radu 2005-08-28 23:14:59 UTC
Alright, I understand how it works now and I won't mess with that in the future.
Sorry about that. 
Comment 5 Stephan Kulow 2005-08-29 18:19:56 UTC
I have no idea what you did. Can you provide a very detailed how to reproduce? 
And also a strace of the kdeinit from root. Did you login as root or did you 
kdesu? 
Comment 6 Alex Radu 2005-08-29 18:59:08 UTC
OK, here's how I can reproduce it:    
    
1. Alt + F2 for the run command dialog    
2. I enter Konqueror for the command and in options make it run as root    
3. I go to "Storage Media" and click on my ext3 partition Files A (also noted   
as media:/hda5 and /data1)   
4. I create a new folder.   
5. I right click it and select move to trash or press delete on the keyboard   
while it's selected and have the following error:  "Creating folders is not  
supported with protocol trash."    
 
"And also a strace of the kdeinit from root. " 
 
How do I do that? 
Comment 7 Alex Radu 2005-08-29 19:08:19 UTC
I should also mention that the same error is produced when I log in as root 
into KDE and try this. 
 
But, I do not get this error in GNOME. GNOME actually deletes folders on the 
ext3 partition. In fact, it is even worse in GNOME since when I select "Move 
to trash" the folder just disappears and cannot be recovered, It is not moved 
into the trash (I looked and no files or folders were in it) it is simply 
deleted. 
Comment 8 Alex Radu 2005-08-29 19:15:59 UTC
It turns out that GNOME doesn't just delete files on the ext3 partition when I
select "Move to Trash", it does this for any file I select, anywhere. (even in
my home directory!) I would really prefer KDE's error to actual loss of data! :(

I submitted this as a separate bug here:
https://bugzilla.novell.com/show_bug.cgi?id=113952
Comment 9 Stephan Kulow 2005-08-29 21:16:00 UTC
ok, the trash:/  author told me that I can't test this as /root is on the one  
partition I have.   
  
The root konqueror should create a kdeinit process. Do a strace -f -p <pid> 
with the pid of that kdeinit.  
 
BTW: did you try with both media:hda5 _and_ /data1 or just media URL? 
Comment 10 Stephan Kulow 2005-08-29 21:18:40 UTC
ok, we just reproduced it. It only happens with media:/ 
Comment 11 Alex Radu 2005-08-29 21:28:56 UTC
Yup, it's only with media. I also just tested it and if I delete a folder 
in /data1 it all works as it should. 
 
Sorry for not being more clear. 
Comment 12 Alex Radu 2005-08-29 22:57:39 UTC
Thank you for the tips and yes, I'm aware this is only a temporary workaround.
I've got it now.

Comment 13 Dirk Mueller 2005-09-07 18:06:54 UTC
fixed