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.
Distribution: Mandrake 10, IPCOP 1.4, SME Server 6, EvilEntity
Posts: 106
Rep:
chmod, and disks generally
I run a system using removable disks to run RH7.3 and W98 alternately. A single fixed disc was intended as a commen data area. I formattted this as a W98/VFAT disc, but while I can mount this in RH7.3, I cannot change permissions. Could anyone give me a brief guide to where I should look, or where I can find further information, or what I am doing wrong?
It might be in how you are mounting it... I sort of understand your "setup" and am not sure if what I am about to say will help, but it's worth a shot:
You need to set a umask to allow the permissions you want, I do this in my fstab for the given partition I want the permissions set on, so for example: /dev/hdb6 /mnt/fat32 vfat users,auto,rw,umask=000 1 0
Is one of my entries. You'd replace the /dev and /mnt point as needed, but it gives you an idea of where to start.
Distribution: Mandrake 10, IPCOP 1.4, SME Server 6, EvilEntity
Posts: 106
Original Poster
Rep:
Bugger! - it works but I can't find out why!
Could you point me to some doco? I appreciate it working, but I do not understand why, and I view a lot of these problems as a learning experience......
And the couple of books I have, the man page, etc don't help.
thanks for your help, but what is umask? was it the VFAT format? was it that the disk was originally formatted by W98? Please give me an idea on where to look!
sorry to ask again, butI want to learne the why?, as well as how?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.