LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   can not mv, cp, rm as root... (https://www.linuxquestions.org/questions/linux-newbie-8/can-not-mv-cp-rm-as-root-155467/)

cwaidelich 03-09-2004 01:07 PM

can not mv, cp, rm as root...
 
Hi there,

i type as root:


Code:

mv /windows/D/Download/linuxcad-2.9.tar.gz  /home/cwaidelich/Documents/
mv: cannot remove `/windows/D/Download/linuxcad-2.9.tar.gz': Read-only file system

the same happens with cp and rm. and its not with all the files i use, only with specific files on specific dirs...

what is wrong? the prob is i don't understand the permission lines when typing ll...
somebody has a good web page with instruction?
how can i change this :Read only??


thx

Christian

jpbarto 03-09-2004 01:19 PM

The 'read-only file system' indicates that the partition containing your Windows files has been mounted Read Only. If the partition is a Win98 partition (or someother version that uses VFAT (Fat32) then you can change it to Read/Write probably just by editing /etc/fstab).

If its not VFAT (if its a Win2000 or WinXP partition) then it is an NTFS filesystem, and writing to that type of partition is 'Experimental' at best. Also, to mount an NTFS system Read-Write you may have to recompile your kernel in order for it to include the experimental kernel module that can write to NTFS.

Let me know what filesystem it is and we can go from there.

jpbarto

cwaidelich 03-09-2004 01:37 PM

its NTFS (im using win2k)

here is a copy of my fstab

Code:

/dev/hda5            /mnt/multy/          ntfs      defaults              0 0
im going to chmod the folder... i tell u


Chrsi

cwaidelich 03-09-2004 01:41 PM

this is what i get:


linux:~ # chmod a+rwx /mnt/multy/
chmod: changing permissions of `/mnt/multy/': Read-only file system



it can't be right

jpbarto 03-09-2004 01:48 PM

Ok, chances are you won't be able to modify the system until you load the experimental kernel module.

Check here for more information:
http://linux-ntfs.sourceforge.net/

Update: It appears (after reading through the FAQ at that site) that the old driver supports writing but is 'EXTREMELY' dangerous and has a high probability of destroying your WinFS. The newer driver apparently is much safer but has very limited write capabilities. Sorry for misleading you. But it seams that Linux is still unable to write (well) to NTFS.

cwaidelich 03-09-2004 02:04 PM

changing the kernel??? i knew the day would come...

:)

michaelk 03-09-2004 02:41 PM

No actual experience:
http://www.jankratochvil.net/project/captive/

jpbarto 03-09-2004 08:50 PM

Excellent link michaelk, this take care of the problem for you cwaidelich?

comp12345 03-09-2004 09:33 PM

Quote:

Originally posted by cwaidelich
its NTFS (im using win2k)

here is a copy of my fstab

Code:

/dev/hda5            /mnt/multy/          ntfs      defaults              0 0
im going to chmod the folder... i tell u


Chrsi

It won't matter what you try to do, you aren't going to be able to make any changes to the partition; it's mounted read-only. That would be like trying to copy a file to a cdrom. It's just not going to happen. It seems strange that you would not be able to copy the file though.

cwaidelich 03-10-2004 12:56 PM

wait... i didnt saw the second link...

i tell u when i get home if it worked...

cwaidelich


All times are GMT -5. The time now is 05:48 PM.