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.
*****************************************
The locations /mnt/windows and /mnt/number2 exist, and work fine when mounted manually.
Now, 'root' can access everything just fine. AlI need is read access for any other user, and have it mount itself at boot. I tried changing permissions, but I get the error message "file system is read only". (Which is what I want, partially.)
I've made some half-hearted attempts at changing permissions, but I've read that they change for the time being, and revert back to the original after a reboot. I need the perms to allow everyone read-only access to hda1 and hdb1 and have the perms stay after rebooting.
I'm fairly sure the "defaults" part in the above fstab entries need to be changed, but I can't figure out what the options are, let alone what they should be.
incidentally you should be able to appreciate why you can't set file permissions on a fat32 drive under unix as the fat32 filesystem has no conecpt of file ownership and such, so the data is just plain not there in the first place to be changed.
Distribution: RedHat v9, Mandrake v9.1, Windows 2000
Posts: 12
Original Poster
Rep:
Thanks.
I first tried "user,defaults" then "users,defaults", neither worked for me. Don't know why.
However, when I put "umask=000,defaults" in, it worked fine.
Thanks to both of you for your help.
If I've got this umask thing understood correctly, Execute=1, Write=2, Read=4 - so - does "000" mean all access is granted? If so, would "777" be the same thing?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.