Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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!
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.