[frameworks-kio] [Bug 448926] Cannot move root owned files to trash

2023-07-05 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=448926

--- Comment #4 from guimarcalsi...@gmail.com ---
Hey. Sorry. I completely missed Ahmad's comment here and I only found this
again because I was going through my reported bugs. I don't remember why when I
reported this I was able to select 'Move to trash' for a file in a root-owned
folder. Now I have a new fresh install of Neon User Edition 5.27.6 and, as
expected, the option is grayed out on the context menu for files inside a root
folder. However, the context menu still shows 'Move to trash' for root-owned
folders in my home directory, so that's not fixed. I also cannot shift-delete
as I said I could in the original post.

It's obvious that Dolphin shouldn't be able to delete root-owned folders
without a password. What is buggy here is the fact the option to move the
folder to the trash is not grayed out as it is everywhere else.

This bug only seems to apply to a root folder in the home directory. System
folders in / have the option to move to the trash grayed out as expected, and
files and other folders inside that problematic folder also have the delete
options grayed out.

I'll write detailed instructions:

1. Open a terminal in your >home< (very important!) directory
2. Type sudo mkdir ./myfolder
3. Go to Dolphin or Konqueror and right-click the folder

Result: The option 'Move to trash' is available.

If I try to move the folder to the trash, it says: Access denied to
/home/guilherme/.local/share/Trash/files/myfolder

As Ahmad asked, ls -ld /home/guilherme/.local/share/Trash/files/myfolder shows
: 

ls: cannot access '/home/guilherme/.local/share/Trash/files/myfolder': No such
file or directory

As expected, the folder doesn't exist because it wasn't moved to the trash due
to the lack of permissions. The folder I'm trying to delete does exist though:
drwxr-xr-x 2 root root 4096 jul  5 19:55 /home/guilherme/myfolder

-- 
You are receiving this mail because:
You are watching all bug changes.

[frameworks-kio] [Bug 448926] Cannot move root owned files to trash

2022-05-05 Thread Ahmad Samir
https://bugs.kde.org/show_bug.cgi?id=448926

Ahmad Samir  changed:

   What|Removed |Added

 CC||a.samir...@gmail.com

--- Comment #3 from Ahmad Samir  ---
What is the output of this in terminal:
ls -l /home/guilherme/.local/share/Trash/files/Text File.txt
ls -ld /home/guilherme/.local/share/Trash/files/

-- 
You are receiving this mail because:
You are watching all bug changes.

[frameworks-kio] [Bug 448926] Cannot move root owned files to trash

2022-01-24 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=448926

--- Comment #2 from guimarcalsi...@gmail.com ---
(In reply to Nate Graham from comment #1)
> Huh, works for me in Dolphin.

Weird. I tried making a new user to see if it would change anything but the
same happened. Is there any kind of log or something I can send to help
diagnose the issue?

-- 
You are receiving this mail because:
You are watching all bug changes.

[frameworks-kio] [Bug 448926] Cannot move root owned files to trash

2022-01-23 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=448926

Nate Graham  changed:

   What|Removed |Added

 CC||n...@kde.org,
   ||uhh...@gmail.com
   Assignee|fa...@kde.org   |kio-bugs-n...@kde.org
  Component|Trash   |general

--- Comment #1 from Nate Graham  ---
Huh, works for me in Dolphin.

-- 
You are receiving this mail because:
You are watching all bug changes.