LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-08-2006, 02:52 PM   #1
itz2000
Member
 
Registered: Jul 2005
Distribution: Fedora fc4, fc7, Mandrake 10.1, mandriva06, suse 9.1, Slackware 10.2, 11.0, 12.0,1,2 (Current)]
Posts: 732

Rep: Reputation: 30
Weird undelteable file!!


I've got a weird file on the Desktop which I cannot somehow delete via GUI (which make sense cause it's root file) but the error I get is : File Does not exsist!


I've done the following via terminal :
Code:
su
chown zuki:zuki /home/zuki
exit
cd ~/Desktop/
rm -rf (filename)
but it's not just that, the file is weird! it has weird permissions! also as root :
Code:
su
pass
cd /home/zuki/Desktop
rm -rf (filename)
(gives me error : Cannot find FILENAME
it's like the file doesn't exsist...

anyways : check this weird output :
Code:
(as root)
[root@localhost Desktop]# ls -al
total 36696
drwx------   8 zuki zuki    24576 Sep  8 21:43 ./
drwx--x--x  86 zuki zuki     4096 Sep  8 21:46 ../
-rw-r--r--   1 zuki zuki     5581 Jan 16  2006 device.desktop
-rw-r--r--   1 zuki zuki       69 Jan 16  2006 .directory
-rw-r--r--   1 zuki zuki   110830 Jul 15 13:07 fiappleblue211.ace
-rw-rw-r--   1 zuki zuki      374 Apr 24 15:43 Gaim.desktop
-rw-r--r--   1 zuki zuki     4361 Jan 16  2006 Home.desktop
-rw-rw-r--   1 zuki zuki   196080 Sep  8 19:15 IMG_0988.JPG
-rw-r--r--   1 zuki zuki 16480004 May  3 13:57 jre-1_5_0_07-linux-i586.rpm
-rwxrwxr-x   1 zuki zuki 16306335 Jul 17 14:48 jre-1_5_0_07-linux-i586-rpm.bin*
drwxrwxr-x  29 zuki zuki     4096 Sep  8 17:26 libs/
lrwxrwxrwx   1 zuki zuki       89 Jan 16  2006 Mozilla Firefox.desktop -> /var/lib/menu-xdg/applications/Mandrakelinux/Internet/WebBrowsers/Mozilla Firefox.desktop
drwxrwxr-x   2 zuki zuki     4096 May 28 12:10 rar/
drwxrwxr-x   2 zuki zuki     4096 Apr 15 17:41 RPMs/
-rw-rw-r--   1 zuki zuki    22941 Sep  2 18:11 sscpp1.jpg
-rw-rw-r--   1 zuki zuki   169731 Sep  2 18:10 sscpp.jpg
-rw-rw-r--   1 zuki zuki       66 Aug 25 21:40 Text File
-rw-rw-r--   1 zuki zuki        2 Aug 25 21:33 Text File~
-rw-r--r--   1 zuki zuki     4795 Jan 16  2006 trash.desktop
Z8~��nbr--   1 zuki zuki        6 Jun 28 18:34 uu3Ƀ���v�^��5cʄ24�#�V6V
       ϭ)
b)���XqX6Y0
if you see weird letters, that's what I see aswell!

Last edited by itz2000; 09-08-2006 at 02:55 PM.
 
Old 09-08-2006, 03:05 PM   #2
Dan04
Member
 
Registered: Jun 2006
Location: Texas
Distribution: Ubuntu
Posts: 207

Rep: Reputation: 37
Have you tried "rm -f uu3*"?
 
Old 09-08-2006, 03:19 PM   #3
jstephens84
Senior Member
 
Registered: Sep 2004
Location: Nashville
Distribution: Manjaro, RHEL, CentOS
Posts: 2,098

Rep: Reputation: 102Reputation: 102
what happens when you try something like vi uu3<then hit tab key and see if it will auto fill the rest of the name>
 
Old 09-08-2006, 03:53 PM   #4
itz2000
Member
 
Registered: Jul 2005
Distribution: Fedora fc4, fc7, Mandrake 10.1, mandriva06, suse 9.1, Slackware 10.2, 11.0, 12.0,1,2 (Current)]
Posts: 732

Original Poster
Rep: Reputation: 30
Yes, Offcourse I did try rm -f uu*

I couldn't have VIed it,
when I vi it, it's like I VI a file which doesn't exsist (so it creates a new file)
 
Old 09-08-2006, 03:57 PM   #5
jstephens84
Senior Member
 
Registered: Sep 2004
Location: Nashville
Distribution: Manjaro, RHEL, CentOS
Posts: 2,098

Rep: Reputation: 102Reputation: 102
This sounds like a stupid question but have you rebooted. Maybe it will clear it's self out.
 
Old 09-08-2006, 04:04 PM   #6
Samoth
Member
 
Registered: Apr 2005
Distribution: Exherbo
Posts: 474
Blog Entries: 1

Rep: Reputation: 32
It seems like a file that is using a different encoding. Why dont you do a "find" for files edited at the date specified by "ls -la" and then pipe that into a command to get rid of it.
 
Old 09-08-2006, 04:40 PM   #7
vls
Member
 
Registered: Jan 2005
Location: The grassy knoll
Distribution: Slackware,Debian
Posts: 192

Rep: Reputation: 31
Quote:
Z8~��nbr-- 1 zuki zuki
Whatever it is it's severly screwed just looking at the file perms from ls.

Try command 'ls -i' to get the inode number for the file then try find

Code:
find . -inum inode# -ok rm {} \;
-ok will ask for confirmation just in case you type the inode number wrong. Not that I have ever typed the wrong file name to an rm command.
 
Old 09-08-2006, 10:55 PM   #8
itz2000
Member
 
Registered: Jul 2005
Distribution: Fedora fc4, fc7, Mandrake 10.1, mandriva06, suse 9.1, Slackware 10.2, 11.0, 12.0,1,2 (Current)]
Posts: 732

Original Poster
Rep: Reputation: 30
Rebooting/shutting down didn't work(I already have this problem for months, now I'm just trying to fix it)

This is what ls -i gives me (as root)
Code:
[root@localhost Desktop]# ls -i
5750984 device.desktop*
5767193 fiappleblue211.ace*
5753396 Gaim.desktop*
5750983 Home.desktop*
5751468 IMG_0988.JPG*
5754340 jre-1_5_0_07-linux-i586.rpm*
5767968 jre-1_5_0_07-linux-i586-rpm.bin*
5767313 libs/
5751012 Mozilla Firefox.desktop@
 294914 rar/
5767310 RPMs/
5750789 torrentas/
5750986 trash.desktop*
Z8~��nb uu3Ƀ���v�^��5cʄ24�#�V6V
       ϭ)
*)���XqX6Y0
5751504 zuki777.m3u*
also might be usfull
Code:
[root@localhost Desktop]# ls -la | grep "6 Jun"
Z8~��nbr-x   1 zuki zuki        6 Jun 28 18:34 uu3Ƀ���v�^��5cʄ24�#�V6V
       ϭ)
[root@localhost Desktop]# ls -lai | grep "6 Jun"
Z8~��nb -rwxr-xr-x   1 zuki zuki        6 Jun 28 18:34 uu3Ƀ���v�^��5cʄ24�#�V6V
       ϭ)
 
Old 09-09-2006, 01:28 AM   #9
AwesomeMachine
Senior Member
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora
Posts: 1,835

Rep: Reputation: 260Reputation: 260Reputation: 260
Try this: Install the coreutils package again. If it says it is already installed, uninstall it. Then, install it again. Your tools might be compromised, and giving you misleading output. After you do that, make a directory somewhere, and move all the files in /home/zuki/Desktop to the directory you made, mv Desktop/* /directory/. Do ls -la in /home/zuki/Desktop and see what it says. If the file is still there try rm -rf *. If it isn't there, check in the new directory. If it's in the new directory you know it is a real file. That square with the "0243" in it is a Latin capital letter B with a slash in it. You can find that with charmap, copy it to the clipboard, paste it into terminal, and use it to identify the file.
 
Old 09-09-2006, 02:52 AM   #10
vls
Member
 
Registered: Jan 2005
Location: The grassy knoll
Distribution: Slackware,Debian
Posts: 192

Rep: Reputation: 31
Do you have Midnight Commander (mc) installed?
You could highlight the file and hit F8 to delete. Worth a try.
 
Old 09-09-2006, 08:20 AM   #11
itz2000
Member
 
Registered: Jul 2005
Distribution: Fedora fc4, fc7, Mandrake 10.1, mandriva06, suse 9.1, Slackware 10.2, 11.0, 12.0,1,2 (Current)]
Posts: 732

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by vls
Do you have Midnight Commander (mc) installed?
You could highlight the file and hit F8 to delete. Worth a try.
Thanks, Done it, worked great.



I'm trying to remember where it came from though :]
 
Old 09-10-2006, 01:49 AM   #12
vls
Member
 
Registered: Jan 2005
Location: The grassy knoll
Distribution: Slackware,Debian
Posts: 192

Rep: Reputation: 31
Quote:
Originally Posted by itz2000
Thanks, Done it, worked great.



I'm trying to remember where it came from though :]
I've had weird file names before (usually from strange spastic typing on my part ). mc usually does the trick. I should of thought of it earlier.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Weird File Problem sashhoney Linux - Software 1 05-26-2005 05:23 PM
Weird File Permissions Issue SiLiCoN *BSD 1 04-08-2005 05:41 AM
weird MPlayer file problem GTBlackwell Linux - Software 1 02-16-2005 11:34 AM
Weird issues with I vi into a file slewis1972 Linux - General 3 07-06-2003 05:03 PM
weird think about .bin file nakkaya Linux - General 4 05-05-2003 09:23 AM


All times are GMT -5. The time now is 02:28 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration