LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 03-09-2004, 01:07 PM   #1
cwaidelich
LQ Newbie
 
Registered: Sep 2003
Location: Colombia
Distribution: Ubuntu / Kubuntu
Posts: 27

Rep: Reputation: 15
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
 
Old 03-09-2004, 01:19 PM   #2
jpbarto
Senior Member
 
Registered: Mar 2003
Location: Pittsburgh, PA
Distribution: Gentoo / NetBSD
Posts: 1,251

Rep: Reputation: 45
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
 
Old 03-09-2004, 01:37 PM   #3
cwaidelich
LQ Newbie
 
Registered: Sep 2003
Location: Colombia
Distribution: Ubuntu / Kubuntu
Posts: 27

Original Poster
Rep: Reputation: 15
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
 
Old 03-09-2004, 01:41 PM   #4
cwaidelich
LQ Newbie
 
Registered: Sep 2003
Location: Colombia
Distribution: Ubuntu / Kubuntu
Posts: 27

Original Poster
Rep: Reputation: 15
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
 
Old 03-09-2004, 01:48 PM   #5
jpbarto
Senior Member
 
Registered: Mar 2003
Location: Pittsburgh, PA
Distribution: Gentoo / NetBSD
Posts: 1,251

Rep: Reputation: 45
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.

Last edited by jpbarto; 03-09-2004 at 01:53 PM.
 
Old 03-09-2004, 02:04 PM   #6
cwaidelich
LQ Newbie
 
Registered: Sep 2003
Location: Colombia
Distribution: Ubuntu / Kubuntu
Posts: 27

Original Poster
Rep: Reputation: 15
changing the kernel??? i knew the day would come...

 
Old 03-09-2004, 02:41 PM   #7
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,750

Rep: Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928
No actual experience:
http://www.jankratochvil.net/project/captive/
 
Old 03-09-2004, 08:50 PM   #8
jpbarto
Senior Member
 
Registered: Mar 2003
Location: Pittsburgh, PA
Distribution: Gentoo / NetBSD
Posts: 1,251

Rep: Reputation: 45
Excellent link michaelk, this take care of the problem for you cwaidelich?
 
Old 03-09-2004, 09:33 PM   #9
comp12345
Member
 
Registered: Feb 2004
Posts: 467

Rep: Reputation: 30
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.
 
Old 03-10-2004, 12:56 PM   #10
cwaidelich
LQ Newbie
 
Registered: Sep 2003
Location: Colombia
Distribution: Ubuntu / Kubuntu
Posts: 27

Original Poster
Rep: Reputation: 15
wait... i didnt saw the second link...

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

cwaidelich

Last edited by cwaidelich; 03-10-2004 at 01:00 PM.
 
  


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
RHEL3 Mounting USB after reboot and between reboots: root and non-root users Luis Nunes Linux - Hardware 0 07-20-2005 08:32 AM
IntelliMouse thumb buttons work as root, broken as non-root user, wheel works always digital vortex Linux - Hardware 7 03-02-2004 04:14 PM
root files: create as root:root or root:wheel? pcass Linux - Security 1 02-07-2004 04:14 PM
cant resize root thru rescue, auto mounts root dir absolutal Linux - Newbie 0 06-18-2003 03:06 PM
Why does kppp.desktop require root userid for non-root user? rdaves@earthlink.net Linux - Networking 4 08-27-2001 09:18 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:49 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