Results 1 to 5 of 5
I'm using Suse 11.2, Gnome.
There is a file that lives in my user wastebasket which cannot be deleted by conventional means
The file is attributed to "root" and therefore ...
- 05-23-2010 #1Linux Newbie
- Join Date
- May 2010
- Posts
- 125
Rogue file in wastebasket impossible to delete
I'm using Suse 11.2, Gnome.
There is a file that lives in my user wastebasket which cannot be deleted by conventional means
The file is attributed to "root" and therefore I cannot change permissions as user and my efforts to intervene as root have failed (see below)
Before suggesting the obvious approaches please note I have already tried many ways without avail
Have tried:
Graphics user approaches:
- opening the wastebasket on Desktop and deleting
- restoring the file and re-deleting (people are silly for suggesting this because if the file cannot be deleted in the first place, it obviously cannot be cut or moved, only copied at best which essentially leaves the file right where it is)
Terminal approaches
- su
enter password
nautilus
*crash!* see error below - gnomesu nautilus (but the wastebasket there cannot be read)
- in terminal, navigating to the location and removing by command but the supposed location trash:///" is not navigable to
Somebody help me!
lindsey
Aside: this was the error I got from trying to launch nautilus as root, but it is not my main problem here -
GConf error: Failed to contact configuration server; some possible causes are that you need to enable TCP/IP networking for ORBit, or you have stale NFS locks due to a system crash. See GConf configuration system[/url] for information. (Details — 1: Failed to get connection to session: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.)
- 05-23-2010 #2Linux User
- Join Date
- Nov 2009
- Location
- France
- Posts
- 292
You seem to be relying much on GUI tools without success. I would try as follows in a terminal (you have to know the exact file name, assuming it does not contain special characters)
Code:su - init 1 find / -type f -name "<filename>" rm -f "/path/<filename>" ls -l "/path/<filename>" init 5
0 + 1 = 1 != 2 <> 3 != 4 ...
Until the camel can pass though the eye of the needle.
- 05-23-2010 #3Linux Newbie
- Join Date
- May 2010
- Posts
- 125
Thanks nmset; I didn't actually use your full solution - it was enough to be able to track down the file with find command.
Turns out the file was based in /windows/C/.Trash-1000/files and another remnant in /windows/C/.Trash-1000/info.
Why is my Desktop wastebasket linked to this obscure directory for? Is this standard?
- 05-23-2010 #4
The real question is what is /windows/C???
Is this a mounted windows drive?
The windows file systems do not keep proper ownership flags thus they tend to get assigned to root.
- 05-24-2010 #5Linux Newbie
- Join Date
- Mar 2007
- Posts
- 139
Normally /windows/C is a mount folder in which you mount a windows partition.


Reply With Quote