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 have a vfat partition and it is mounted at boot time, it is set to supermount (Mandrake 9.1). I log on under my account (not root!), however, the owner of all files on the vfat partition is still root and it is impossible to change the ownership with 'su' and 'chown' - it says permission denied.
My goal is to have the vfat partition mounted at boot time and have myself (not root) be the owner of all files there. Is it possible? If so, what should I do to achieve it. Thanks!
you'll have to add an extra option in the /etc/fstab file for the entry to mount the fat drive...
both options below will work, you only need to use one of them, but remember the UID option is only going to specify one user, and the umask is for all if you have multiple users.... umask=000
and. UID=XXX where XXX is the user ID of the user that wants access (in this case you )
well maybe if you tried to do it before and you actually typed 'umask 0 0 0' then thats probably why its not working....it is umask=000, all as one string..
but like you said, just check it out when you get home..
It's umask=0 (there doesn't have to be 3 zeroes). The umask=0 0 0 you saw is umask=0 with two other zeroes that have nothing to do with it. The umask=0 will set all permissions on the drive to rwxrwxrwx.
vfat doesn't support ownerships, therefore whoever mounted the partition owns everything.
You'll have to add "users,noauto" option to the fstab, then mount it yourself with some kind of script after you login.