LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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-26-2005, 11:08 AM   #1
Niflheim
Member
 
Registered: Jan 2005
Location: Québec
Distribution: Mandrake 10.1 Official
Posts: 104

Rep: Reputation: 15
cant write on my mounted drives


yes.
i had mandrake and i could go into my winshit drives and do stuff. but now, i installed fedora core 3 and i cant write on these drives. alas! i can read whatever i want, but i cant write. and i think that's not normal because, you know, usually when someone can read he can write.
so what should i do? i checked the properties of each mounted partitions and then the access permissions. i then learnt that the owner could write and read but that the others could only read. so, i thougt i was smart and i logged in as root to change those permissions. but it wouldnt. id check whatever little square i wanted to be checked but, when i closed the properties windows and reopened it, its just as if id done nothing.
there was also that "appartenance" squares, down, wich said "user : root" "group : root". i thought id be nice to have those changed but it said i dont have the permissions.

im a bit upset because i thought that root was like god.

and all this writing just to say : so, how can i manage to write on these partitions?
(fat32 they are, of course)
thanks!

marvin the paranoid android
 
Old 03-26-2005, 11:17 AM   #2
cylix
Member
 
Registered: Dec 2004
Location: Ohio
Distribution: Fedora Core 3
Posts: 125

Rep: Reputation: 15
Type "mount"

It will tell you if the drive is mounted as rw (read/write), it may be only mounted as read.
 
Old 03-26-2005, 11:26 AM   #3
Niflheim
Member
 
Registered: Jan 2005
Location: Québec
Distribution: Mandrake 10.1 Official
Posts: 104

Original Poster
Rep: Reputation: 15
oh its annoying because it says they are all rw
but even more annoying than that, is the fact that i made a couple of tests and discovered that not only i cant write on these partitions, but also that i cant write anywheeeere. i tried copying a file or creating a new folder absolutely everywhere (/, /home, /media, /usr...) and its always the same : "access denied. its impossible to write in blablabla".
i have to be in root to be able to write anything.

now im a bit worried you see.

Last edited by Niflheim; 03-26-2005 at 11:36 AM.
 
Old 03-26-2005, 08:38 PM   #4
Niflheim
Member
 
Registered: Jan 2005
Location: Québec
Distribution: Mandrake 10.1 Official
Posts: 104

Original Poster
Rep: Reputation: 15
there must be someone who knows
 
Old 03-26-2005, 09:16 PM   #5
alienDog
Member
 
Registered: Apr 2004
Location: Europe
Distribution: Debian, Slackware
Posts: 505

Rep: Reputation: 48
You shouldn't be able to write to /usr or /home or / as a regular user, only as root, so that's normal. When it comes to writing to FAT32 partitions, you can set the user id (uid) group id (gid) and permission masks (dmask, fmask) for directories and files on FAT filesystems when mounting them. So:

Code:
mount /dev/whatever /mnt/whatever -o uid=yourusername,gid=yourgroup
will give you the ownership of the files on a FAT filesystem. By default ownership is given to whoever mounts the filesystem (in your case root). You might also want to experiment with fmask and dmask options (try dmask=777,fmask=666 and if that doesn't work try dmask=000,fmask=111. I don't remember which way is right). Take a look at mount command's manpage under subtitle: "Mount options for fat" for more information.
 
Old 03-26-2005, 09:51 PM   #6
Niflheim
Member
 
Registered: Jan 2005
Location: Québec
Distribution: Mandrake 10.1 Official
Posts: 104

Original Poster
Rep: Reputation: 15
yessss, it worked!
aaaah, thanks so much, you don't even know how much it helped me.
there's no way i could ever have figured it out.

thaaanks!!

 
  


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 drives doesn't appear sdr_ar Ubuntu 7 11-10-2005 08:12 AM
can not write data to Mounted partition thachphathien Linux - Newbie 1 09-30-2004 12:41 PM
mounted but no write permissions varunk123456 Linux From Scratch 1 03-31-2004 02:55 PM
mounted but no write permission varunk123456 Red Hat 1 03-31-2004 02:54 PM
Firewire HD, Mounted but no Write tobz Linux - Hardware 5 11-01-2003 04:20 PM

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

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