From: zed on
I copied the contents of a CD containing ClipArt (TaskForce CD) to my Home
Directory but because of problems displaying images, I decided to remove all
of them *WMF, WMF, and CMG", I removed them to Trash, in case I wanted to
restore them at some future date.

However, I decided to delete them permanently but am unable to do so.
Clicking on Empty Trash returns the normal message that doing so will
permanently remove the contents from my computer. Then the "Preparing to
delete" dialogue box and then nothing. Clicking on the folder itself
returns the normal "Are you sure ..." message and then clicking on "Delete"
returns "Error while deleting" and clicking on "Show more details" tells me
"Permission denied".

Going into "Properties" shows me that there are 21,230 items totalling 606.7
MB, and looking at Permissions shows me that the owner (me) can Create and
delete files; that the Group (me) can Access files and that Other can Access
files. Trying to change the permissions for the last two returns the error
that "Sorry, couldn't change the permissions of "TaskForce": Operation not
supported by backend"

I've even tried moving the folders back to Home but that returns an error
message "Error removing file: Permission denied"

I am at a loss and any assistance would be appreciated. I just want to free
up that 606.7 MB of disc space.

Regards from New Zealand on a very warm and sunny Friday afternoon.

Zed
--
zed
From: Will Kemp on
zed wrote:
> I copied the contents of a CD containing ClipArt (TaskForce CD) to my Home
> Directory but because of problems displaying images, I decided to remove all
> of them *WMF, WMF, and CMG", I removed them to Trash, in case I wanted to
> restore them at some future date.
>
> However, I decided to delete them permanently but am unable to do so.
> Clicking on Empty Trash returns the normal message that doing so will
> permanently remove the contents from my computer. Then the "Preparing to
> delete" dialogue box and then nothing. Clicking on the folder itself
> returns the normal "Are you sure ..." message and then clicking on "Delete"
> returns "Error while deleting" and clicking on "Show more details" tells me
> "Permission denied".
>
> Going into "Properties" shows me that there are 21,230 items totalling 606.7
> MB, and looking at Permissions shows me that the owner (me) can Create and
> delete files; that the Group (me) can Access files and that Other can Access
> files. Trying to change the permissions for the last two returns the error
> that "Sorry, couldn't change the permissions of "TaskForce": Operation not
> supported by backend"
>
> I've even tried moving the folders back to Home but that returns an error
> message "Error removing file: Permission denied"

You haven't mentioned which window manager you're using. That may be
important. I use gnome, currently under Fedora 10, and i get that
problem occasionally - when i delete files that have got permissions
that don't allow me to modify them.

In gnome/nautilus the trash directory is ~/.local/share/Trash . If you
su to root in a terminal window, you can delete the contents of
~/.local/share/Trash/files (rm -rf
~<username>/.local/share/Trash/files/*) and all will be ok.

If you use kde or something else, it's probably different. I dunno.



--
http://SnapAndScribble.com
From: zed on
Will Kemp <will(a)xxxx.swaggie.net> wrote:

> zed wrote:
> > I copied the contents of a CD containing ClipArt (TaskForce CD) to my
> > Home Directory but because of problems displaying images, I decided to
> > remove all of them *WMF, WMF, and CMG", I removed them to Trash, in
> > case I wanted to restore them at some future date.
> >
> > However, I decided to delete them permanently but am unable to do so.
> > Clicking on Empty Trash returns the normal message that doing so will
> > permanently remove the contents from my computer. Then the "Preparing
> > to delete" dialogue box and then nothing. Clicking on the folder
> > itself returns the normal "Are you sure ..." message and then clicking
> > on "Delete" returns "Error while deleting" and clicking on "Show more
> > details" tells me "Permission denied".
[snip]
>
> You haven't mentioned which window manager you're using. That may be
> important. I use gnome, currently under Fedora 10, and i get that problem
> occasionally - when i delete files that have got permissions that don't
> allow me to modify them.
>
> In gnome/nautilus the trash directory is ~/.local/share/Trash . If you su
> to root in a terminal window, you can delete the contents of
> ~/.local/share/Trash/files (rm -rf ~<username>/.local/share/Trash/files/*)
> and all will be ok.

Hi Will

I am using Gnome (LinuxMINT) and have followwed your instructions but am
obviously doing something incorrect. Copied below is the result that I get.

zed(a)zed-desktop ~ $ sudo -s
zed-desktop ~ # cd ~/.local/share/Trash
zed-desktop Trash # rm-rf zed/.local/share/Trash/files/*
bash: rm-rf: command not found
zed-desktop Trash #

What have I done that I shouldn't have or what have I missed doing that I
should have, please?

Zed



--
zed
From: Will Kemp on
zed wrote:
> Will Kemp <will(a)xxxx.swaggie.net> wrote:
>
>> zed wrote:
>>> I copied the contents of a CD containing ClipArt (TaskForce CD) to my
>>> Home Directory but because of problems displaying images, I decided to
>>> remove all of them *WMF, WMF, and CMG", I removed them to Trash, in
>>> case I wanted to restore them at some future date.
>>>
>>> However, I decided to delete them permanently but am unable to do so.
>>> Clicking on Empty Trash returns the normal message that doing so will
>>> permanently remove the contents from my computer. Then the "Preparing
>>> to delete" dialogue box and then nothing. Clicking on the folder
>>> itself returns the normal "Are you sure ..." message and then clicking
>>> on "Delete" returns "Error while deleting" and clicking on "Show more
>>> details" tells me "Permission denied".
> [snip]
>> You haven't mentioned which window manager you're using. That may be
>> important. I use gnome, currently under Fedora 10, and i get that problem
>> occasionally - when i delete files that have got permissions that don't
>> allow me to modify them.
>>
>> In gnome/nautilus the trash directory is ~/.local/share/Trash . If you su
>> to root in a terminal window, you can delete the contents of
>> ~/.local/share/Trash/files (rm -rf ~<username>/.local/share/Trash/files/*)
>> and all will be ok.
>
> Hi Will
>
> I am using Gnome (LinuxMINT) and have followwed your instructions but am
> obviously doing something incorrect. Copied below is the result that I get.
>
> zed(a)zed-desktop ~ $ sudo -s
> zed-desktop ~ # cd ~/.local/share/Trash
> zed-desktop Trash # rm-rf zed/.local/share/Trash/files/*
> bash: rm-rf: command not found
> zed-desktop Trash #
>
> What have I done that I shouldn't have or what have I missed doing that I
> should have, please?

For a start, if you 'sudo -s' and become root, then do 'cd
~/.local/share/Trash' you're changing to root's trash directory, not
yours. That's why i wrote "~<username>". I don't know what your username
is, but you do - so you should replace "<username>" with your username.

Anyway, you can avoid having to bother about that if you do the cd (as
you've written it - i.e., without the username) before you do the sudo -
then you'll already be in the right place.

Secondly, there's a space between the 'rm' and '-rf'!

For reference:

"~" is shorthand for the path to the current user's home directory.
"~someuser" is shorthand for the path to someuser's home directory.

So, if the current user is root, "~" = "/root". If the current user is
"zed", "~" probably = "/home/zed".

There's no guarantee that home directories will be in /home in any given
system, but it's certain that wherever they are, "~zed" will be an alias
for the path to zed's home directory.


--
http://SnapAndScribble.com