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.
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 figured out that if "kudzu" is included anywhere on the /dev/sda5 options, kudzu for whatever reason wipes out
/mnt/data and erases the /dev/sda5 line in our /etc/fstab.
Our /etc/fstab line now
reads:
/dev/sda5 /mnt/data vfat defaults,uid=500,gid=100 0 0
Is there any way we can do a
uid=*,gid=*
or open up the /mnt/data to a multitude of uids (e.g. uid=500-700)? It's kind of a pain to manually enter all UIDs in. I tried simply setting
gid=100
but then the user with uid=500 no longer had access.
Do you want everyone on earth (or at least with an account with access to that computer) to have access to that directory? IF so, remove uid and gid and place:
umask=000
Originally posted by juggler That sounds like a nice workaround.
How about allowing just a single group, say the users
group (GID=500) to be able to access /mnt/data? How would I go about doing that?
What umask does is basically set the chmod. SO a umask of 000 (umask=000) sets a chmod of 777 which means everyone and their dog has all permissions.
So a better way of putting this (and quoting from Acid):
Quote:
so therefore a umask of 333 equates to a chmod of 444 (777-333) which is r--r--r-- in more conventional terms. umask 022 would be rwxr-xr-x (chmod 755) and so on.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.