LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-21-2004, 09:40 AM   #1
Ytsejammer
LQ Newbie
 
Registered: Dec 2004
Location: Uruguay
Distribution: MandrakeLinux
Posts: 18

Rep: Reputation: 0
Question Invincible file??


Hey pals, how are you? well... I have a very WEIRD problem to solve.

I downloaded a song in .mpc format, right? Well, Under Win2k I tried to delete it, and i couldnt, I tried to see its properties, and i couldnt, I tried to copy it or to cut it, and i couldnt

Recently, I installed MDK 10.1. I tried to delete it using Konqueror and i couldnt
On a console i tried to chmod it, and i couldnt; I got a "read-only filesystem" error
I tried to delete it using rm, and i couldnt

Note. Those actions in Linux were done with the superuser

What the fook is going on here??¿?

Last edited by Ytsejammer; 12-21-2004 at 09:41 AM.
 
Old 12-21-2004, 09:58 AM   #2
anonobomber
Member
 
Registered: Aug 2003
Location: Seattle
Distribution: Debian, Fedora, CentOS, FreeBSD, OpenSolaris
Posts: 138

Rep: Reputation: 16
The filesystem may be ntfs which has experimental write support in the kernel. Sometimes when this happens you can open a command prompt in windows by going to run on the start menu and running the command 'cmd' then use the 'del' command in there to remove the file which windows explorer will not let you remove. What command did you use to mount the filesystem under linux, or paste the line in your /etc/fstab that mounts it. If you run 'mount' in a terminal in linux it will tell yout the filesystem type for all the mounted filesystems, if it is vfat then you need to mount it differently in your /etc/fstab like this:
/dev/hd* /mnt/windows vfat rw,user,umask=000 0 0
 
Old 12-21-2004, 10:06 AM   #3
Ytsejammer
LQ Newbie
 
Registered: Dec 2004
Location: Uruguay
Distribution: MandrakeLinux
Posts: 18

Original Poster
Rep: Reputation: 0
If i understand what you tried say, I say that i dont mount them manually, they "auto-mount" (as you can see i'm a linux n00b).

Anyway, I didnt understand what you want me to do now
 
Old 12-21-2004, 02:11 PM   #4
JaseP
Senior Member
 
Registered: Jun 2002
Location: Eastern PA, USA
Distribution: K/Ubuntu 18.04-14.04, Scientific Linux 6.3-6.4, Android-x86, Pretty much all distros at one point...
Posts: 1,802

Rep: Reputation: 157Reputation: 157
He's telling you you can't delete the file from within Linux.

The reason for this is that the Windoze portion of your system is on the hard disk in a file system format called NTFS. NTFS was developed for WinNT/2K and then extended into XPee as the default filesystem. Linux can read NTFS, but it can't write to it safely.

What he is suggesting is that you attempt to enter a console (text command) mode in Win2K to delete the file. The file might not actually even BE there. It might be simply an error in the allocation table telling the system it is still there.

The other posibility is that the file is being used by some other app and is therefore "locked".

Try this:
Enter "Safe Mode" (if there really is such a thing) in Win2K.
Then open the Windoze Explorer file tool.
Try deleting the file from there.
If it's a no-go, then try first running a scandisk, set to repair errors, on the Win2K partition, THEN try deleting the file.
 
  


Reply



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
forrtl: severe (47): write to READONLY file, unit 5, file /dev/pts/1 terrence Programming 1 10-01-2005 10:22 PM
gave wrong syntax for tar as tar -cvzf file file.tgz how to recover the file gautham Linux - General 4 04-13-2005 03:15 AM
libawt.so: libXp.so.6: cannot open shared object file: No such file or directory man26 *BSD 0 09-10-2004 08:34 AM
Yum update complains missing file (broken dep), but file can be located. davidas Linux - Software 0 03-27-2004 09:11 PM
How to play a media file/ video file/mp3 file recorded in harddisk/cd-rom arindam Linux - Newbie 2 09-05-2003 10:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:24 PM.

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
Open Source Consulting | Domain Registration