[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [Bug 103703] Trashing files/dirs not owned by user shows misleading
From:       "Iván" "Sánchez" Ortega <ivansanchez () wanadoo ! es>
Date:       2005-04-12 9:25:32
Message-ID: 20050412092532.23518.qmail () ktown ! kde ! org
[Download RAW message or body]

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
         
http://bugs.kde.org/show_bug.cgi?id=103703         




------- Additional Comments From ivansanchez wanadoo es  2005-04-12 11:25 -------
A fecha Martes 12 Abril 2005 10:47, David Faure escribió algo así como:
> Yup, works for me too. I select /etc/passwd (as user!) and hit Delete, I
> get "Access denied to /etc/passwd."


The bug is only reproceable, I think, with files not in the / partition. 
Trying to trash anything from /etc wrks fine for me too.

> There must be something fishy with your /mnt/hda3/.Trash-1000
> Does that directory exist? Is it owned by uid 1000?


Have a look:

BlackSpark:/storage# mount | grep hda3
/dev/hda3 on /storage type reiserfs (rw)
BlackSpark:/storage# ls -la | grep .Trash
drwx------    4 ivan ivan        96 Mar 17 20:50 .Trash-1000
BlackSpark:/storage# mkdir useless
BlackSpark:/storage# touch useless/foobar

Then I go to konqueror (as user "ivan", uid 1000) and try to 
trash /storage/useless.

Also:

BlackSpark:~# mount | grep home
/dev/hda2 on /home type reiserfs (rw)
BlackSpark:~# touch /home/foobar

Trashing the empty file /home/foobar also throws an ugly error message:
"Access denied to /home/ivan/.local/share/Trash/files/foobar"


However, it works fine (displays correct error dialog) when trashing files 
on /etc, or anywhere within the / mount point.


Please try to reproduce it again, maybe we all missed this point.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic