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!
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
i my 4 partitions, hda1 is Windows xp ntfs partition, hda2 is Fat32 partition, hda3 is ext3 for my
FC2, and a swap partition at hda4.
i mount my Fat32 partition as /mnt/fat32
i find that when i login an account other than root, i cannot write to the that partition, and the permittion profile of the /mnt/fat32 is rwxr-xr-x, i use chmod to change the permission, but it failed, and i used X-window and right click to change it, it failed also.
how can i write to that fat32 partition when i am not root?
Check in /etc/fstab if the hda2 line has "ro" in it as an option. If yes, it means the partition is mounted read-only and you will not be able to write to it. Change the option to "rw", save and remount or reboot.
You have it set to "defaults", which includes read/write (rw) ability, so that doesn't seem to be the problem.
If you are the only user on your system, you could try setting yourself (your login name) as the owner of /mnt/fat32
su to root and type in terminal:
chown -R <username> /mnt/fat32
This will give you (not root) ownership of /mnt/fat32 and all dirs and files inside it and you should be able to write to it
Having said that, it's not the ideal situation, because that partition is then writeable by anyone who can access your computer. If you have important data on that partition, maybe it's better to leave root as the owner and just su to root whenever you need write access
thank you for you reply,i tried it but a problem arised, when i type chown -R username /mnt/fat32 in my terminal, it tried to change the file permission of every single file of the fat32 volume, but it failed to
do so and said it is not permitted.
is there a way to change the permission of the folder of /mnt/fat32 only, i tried unmounting it, than chown
/mnt/fat32, but nothing happened.