Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > Your Distro > Knoppix Help Forum > How do I delete hidden files on NTFS drive

Forgot Password?
 Knoppix Help Forum   For all discussions about Knoppix, the Linux "Live CD" that lets you run Linux without needing to install on your hard drive.

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
RSS Feeds


Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Reply
 
Thread Tools Display Modes
Old 10-29-2008   #1 (permalink)
Just Joined!
 
Join Date: Oct 2008
Posts: 9
How do I delete hidden files on NTFS drive

I have a file located c:\documents and settings\jerry\local settings\temporary internet files\content.outlook\CBVPSK45\image00627.jpg that I want deleted. In WinXP explorer I can only go as far as the folder Temporary Internet Files, it does not show the child-folder or anything below it.

In Knoppix I can see the full path to the file but cannot delete it. When I try to delete it I just get an error window that lists the path and file and says that it can't be deleted, if I try to change file permissions from Read only to Read & Write I get another error message that says that I can't change the permissions.

Can anyone tell me how to get rid of this file?
Lanman65 is offline  


Reply With Quote
Old 10-30-2008   #2 (permalink)
Linux Guru
 
smolloy's Avatar
 
Join Date: Apr 2005
Location: CA, but from N.Ireland
Posts: 2,408
Welcome to the forums!

Since it's on an NTFS drive, knoppix may not be able to delete this file. First try to delete it as the root user. If that doesn't work, you'll have to try to enable ntfs write access on knoppix, or use a liveCD with that ability.
__________________
Registered Linux user #388328 || Registered LFS user #15880
AMD 64 X2 4600+ :: 2X1GB DDR2 800 :: GeForce 9400 GT 512MB :: ASUS M2N32 Deluxe :: 4X250GB SATAII
Need instant help? Try us on IRC -- #linuxforums on freenode
smolloy is offline   Reply With Quote
Old 10-30-2008   #3 (permalink)
Linux Guru
 
jayd512's Avatar
 
Join Date: Feb 2008
Location: Louisville, Kentucky
Posts: 1,595
Hello and Welcome!

If it's a LiveCD of Knoppix, then you'll have to change the write permissions, as suggested by smolloy, and then use the sudo command to delete the files.
__________________
Jay

Forum Rules
Registered Linux User #463940
Not every story has an ending... but they all have more chapters.
jayd512 is offline   Reply With Quote
Old 11-01-2008   #4 (permalink)
Just Joined!
 
Join Date: Oct 2008
Posts: 9
Please explain in detail

I am totally new to Knoppix. How do I enable write access? What is a "LiveCD"? I'm booting from a CD is that a LiveCD? What is the SUDO command? How is it used?
Lanman65 is offline   Reply With Quote
Old 11-02-2008   #5 (permalink)
Linux Guru
 
jayd512's Avatar
 
Join Date: Feb 2008
Location: Louisville, Kentucky
Posts: 1,595
When booting up with Knoppix, you should see all of your partitions on the desktop. Right-click on the ones you need to work with, you'll get a menu that will allow you to mount them and change permissions. Then, open a terminal, and start removing the files:
Code:
sudo rm <filename>
sudo gives you temporary root permissions.
__________________
Jay

Forum Rules
Registered Linux User #463940
Not every story has an ending... but they all have more chapters.
jayd512 is offline   Reply With Quote
Old 11-08-2008   #6 (permalink)
Just Joined!
 
Join Date: Oct 2008
Posts: 9
Quote:
Originally Posted by jayd512 View Post
When booting up with Knoppix, you should see all of your partitions on the desktop. Right-click on the ones you need to work with, you'll get a menu that will allow you to mount them and change permissions. Then, open a terminal, and start removing the files:
Code:
sudo rm <filename>
sudo gives you temporary root permissions.
Jay,
I booted with knoppix, right clicked on the correct drive & changed permissions (I think--it showed that I had "read-write" permission. However when I opened the command prompt, I don't know how to change to the drive I want to modify, and I also don't know how to log on to root---if it requires a password I don't have it. I tied dragging and dropping the file in the trash after changing permissions on the whole drive, but again I get the error message that I cannot delete that file.
Lanman65 is offline   Reply With Quote
Old 11-12-2008   #7 (permalink)
Linux Guru
 
jayd512's Avatar
 
Join Date: Feb 2008
Location: Louisville, Kentucky
Posts: 1,595
Sorry for the delay here. Using Knoppix to remove Windows files is both easy and tricky at the same time. Here's what you do though. After changing permissions (as you have done), you are going to have to actually hunt down the path name to the program/file that you want gone. And you'll have to use sudo for it (good news... Knoppix doesn't have a root password!) So then, for an example...
Code:
sudo rm /mnt/hdx/C:\My_Documents\<my_file
Sorry... been a while since I looked at a Windows file system!
__________________
Jay

Forum Rules
Registered Linux User #463940
Not every story has an ending... but they all have more chapters.
jayd512 is offline   Reply With Quote
Old 11-15-2008   #8 (permalink)
Just Joined!
 
Join Date: Oct 2008
Posts: 9
Quote:
Originally Posted by jayd512 View Post
Sorry for the delay here. Using Knoppix to remove Windows files is both easy and tricky at the same time. Here's what you do though. After changing permissions (as you have done), you are going to have to actually hunt down the path name to the program/file that you want gone. And you'll have to use sudo for it (good news... Knoppix doesn't have a root password!) So then, for an example...
Code:
sudo rm /mnt/hdx/C:\My_Documents\<my_file
Sorry... been a while since I looked at a Windows file system!
Hi Jay,
I tried again to delete this file, but again no success. When I type in the command sudo rm /mnt/sda2/c:\documents_and_settings\jerry\local_settings\tem porary_internet_files\content.outlook\cbvpsk45\ima ge000627
I get a couple of lines of text saying that it can't find the file or folder and it shows the path that I typed EXCEPT it removes the last back-slash "\" so the path ends up c:\documents_and_settings\jerry\local_settings\tem porary_internet_files\content.outlook\cbvpsk45imag e000627
I tried changing the command to only go to the folder cbvpsk45 to delete the entire folder, but again I get that same error showing it can't find folder "content.outlooksbvpsk45" again leaving out the last back-slash.
What am I doing wrong?
Lanman65 is offline   Reply With Quote
Old 11-15-2008   #9 (permalink)
Linux Guru
 
jayd512's Avatar
 
Join Date: Feb 2008
Location: Louisville, Kentucky
Posts: 1,595
Here's what I would try. When you get your Knoppix desktop going, mount the Windows drive, then change permissions (make it writable). Open a terminal, and go one step at a time...
1) cd /mnt
2) Do an ls -a to double check everything
3) cd/mnt/hdx (x being Windows)
4) Repeat step 2
5) Keep going until you get to the directory in question...

When you get to the proper directory, do one more ls -a to make sure you have the right filename that you're looking for.
Code:
sudo rm <filename>
A little time consuming, but if nothing else is working for you, this may be the solution.

By the way, remember that with Linux you can use the <TAB> button in the middle of typing a command or filename for an auto-complete function. Helps avoid typos
__________________
Jay

Forum Rules
Registered Linux User #463940
Not every story has an ending... but they all have more chapters.
jayd512 is offline   Reply With Quote
Old 11-16-2008   #10 (permalink)
Just Joined!
 
Join Date: Oct 2008
Posts: 9
Hi Jay,
I followed the instructions above, it took some time to get the syntax correct, but your instructions helped. However when I finally drilled down to the correct folder and tried to delete the file, I get the error "Cannot remove 'image00627.jpg':Read only file system". I tried to rename the file, but I don't know Knoppix command to do that, I also tried to delete *.* in that folder and that time I got a line for every file that said the same thing as the one I quoted above except for the actual file name. HELP???
Lanman65 is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Free Magazines
Run Your Own Web Server Using Linux & Apache - Free 191 Page Preview
Learn about everything you'll need to build and maintain your Linux servers, and to deploy Web applications to them.
subscribe
Open Source Security Myths Dispelled
Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization
subscribe
InformationWeek
InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology.
subscribe



All times are GMT. The time now is 05:00 AM.






© 2000 - 2009 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.3.0 RC2