Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then 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: Gentoo > current. Have used: Red Hat 7.3, 9, Gentoo 1.4
Posts: 400
Original Poster
Rep:
I said I tried that in an ealier post, after it mounts it changes the permissions of the directory.
Also, David, your line you gave me to put into fstab doesn't work, it's not even listed in my mountpoints when I right click my desktop. Here, I'll just slap my fstab in here:
Distribution: Gentoo > current. Have used: Red Hat 7.3, 9, Gentoo 1.4
Posts: 400
Original Poster
Rep:
I noticed that your line that you gave me differs in 3 places. uid, gid, and umask. Shoudl I set the gid and uid to my User ID and Group ID? Also, what is umask? Also, will this automount?
Distribution: Gentoo > current. Have used: Red Hat 7.3, 9, Gentoo 1.4
Posts: 400
Original Poster
Rep:
Ok weird, I tried that and I noticed three things happened. 1) Now my two vfat partitions, when mounted, no longer show icons on the desktop. 2) The Owner and Group of the directories are instead of being me are "nobody". 3) Only root can unmount them. And I believe that they are also read-only.
the one I posted that is my fstab is different because I have a group named vfatuser that's gid 503, my umask is like that to set permissions to 770 so only users I have in the vfatuser group can access it
the post I have with gid 99 and umask 0 will let anyone access it read and write, which is up to you.
you need to mount the partition as root. There should not be a reason to need to unmount it.
Last edited by DavidPhillips; 11-13-2002 at 02:12 AM.
Distribution: Gentoo > current. Have used: Red Hat 7.3, 9, Gentoo 1.4
Posts: 400
Original Poster
Rep:
I used it and it worked, and I think I figured out why the icons are not showing up on my desktop. Before my mounted partitions were treated like floppy drives and when they mounted, it showed up like one. Now it is treted like a normal part of the filesystem.
right, that's it, the ones that show up in the menu are removable.
It really makes no sense to unmount a nonremovable drive. By mounting it at boot using fstab it's just like root mounting it.
You have the desired permissions applied and if for instance there are 25 users logged in, you would not want them to have to call everybody and say, "Hey I'm going to mount and use that drive now, is it all clear."
Last edited by DavidPhillips; 11-14-2002 at 07:48 PM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.