LinuxQuestions.org
Review your favorite Linux distribution.
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 01-26-2006, 02:20 PM   #1
thort
Member
 
Registered: Nov 2003
Location: Sweden
Distribution: Linux Mint Cinnamon 19
Posts: 215

Rep: Reputation: 43
Can't write to mounted partition


Hi !

I can't write to my Windows partitions although the fstab file seems to give me permission to. Here's my fstab:

Code:
# /etc/fstab: static file system information.
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    defaults        0       0
/dev/hda5       /               ext3    defaults,errors=remount-ro 0       1
/dev/hda6       none            swap    sw              0       0
/dev/hdc        /media/cdrom0   udf,iso9660 user,noauto     0       0
/dev/hdd        /media/cdrom1   udf,iso9660 user,noauto     0       0
/dev/fd0        /media/floppy0  auto    rw,user,noauto  0       0
/dev/hda1       /mnt/hda1	vfat	rw,user,utf8	0	0
/dev/hda2	/mnt/hda2	vfat	rw,user,utf8	0	0
/dev/hda3	/mnt/hda3	vfat	rw,user,utf8	0	0
The hda1, hda2 and hda3 lines all have the rw command which, as I understand, should enable writing to the partitions. But I can only wiev them.

What is the meaning of the first line, beginning whith proc?

I'm thankful if someone have some advice for me.
 
Old 01-26-2006, 02:28 PM   #2
haertig
Senior Member
 
Registered: Nov 2004
Distribution: Debian, Ubuntu, LinuxMint, Slackware, SysrescueCD, Raspbian, Arch
Posts: 2,331

Rep: Reputation: 357Reputation: 357Reputation: 357Reputation: 357
Code:
/dev/hda1       /mnt/hda1	vfat	rw,user,utf8	0	0
/dev/hda2	/mnt/hda2	vfat	rw,user,utf8	0	0
/dev/hda3	/mnt/hda3	vfat	rw,user,utf8	0	0
This will allow you to write them when logged in as root, but not when logged in as a normal user. Try changing fstab to:
Code:
/dev/hda1       /mnt/hda1	vfat	rw,user,utf8,umask=0000	0	0
/dev/hda2	/mnt/hda2	vfat	rw,user,utf8,umask=0000	0	0
/dev/hda3	/mnt/hda3	vfat	rw,user,utf8,umask=0000	0	0
Then unmount, then remount, these partitions.
 
Old 01-26-2006, 02:51 PM   #3
thort
Member
 
Registered: Nov 2003
Location: Sweden
Distribution: Linux Mint Cinnamon 19
Posts: 215

Original Poster
Rep: Reputation: 43
Thanks haertig !

Your advice worked!

Now I can write to my Windows partitions.
 
Old 01-26-2006, 03:18 PM   #4
haertig
Senior Member
 
Registered: Nov 2004
Distribution: Debian, Ubuntu, LinuxMint, Slackware, SysrescueCD, Raspbian, Arch
Posts: 2,331

Rep: Reputation: 357Reputation: 357Reputation: 357Reputation: 357
Quote:
Originally Posted by thort
What is the meaning of the first line, beginning whith proc?
I forgot to answer your other question. /proc is a special device. It looks like a directory of files, but it's really the working memory of your Linux OS. Very powerful. You can go in there and fiddle with actual memory. Don't do this unless you know what you're doing, you can easily crash your system! Snooping around in /proc is not something that a new Linux user would be needing (or wanting) to do.
 
Old 01-27-2006, 01:50 AM   #5
thort
Member
 
Registered: Nov 2003
Location: Sweden
Distribution: Linux Mint Cinnamon 19
Posts: 215

Original Poster
Rep: Reputation: 43
Thanks!

Interesting!
 
  


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
Mounted read-write Fat32 partition suddenly becomes read-only?? hohead Linux - General 8 04-05-2007 12:17 PM
can not write data to Mounted partition thachphathien Linux - Newbie 1 09-30-2004 12:41 PM
Allowing read/write on mounted captive-ntfs partition divsky Linux - General 6 04-15-2004 10:52 AM
write premission on mounted partition trollman Linux - Newbie 10 02-14-2004 04:14 PM
can't write on mounted windows partition! icecube Linux - Hardware 21 12-07-2002 11:29 AM

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

All times are GMT -5. The time now is 01:07 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
Open Source Consulting | Domain Registration