DebianThis forum is for the discussion of Debian Linux.
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.
Got etch running nicely. But I have an issue I would like to work out, not necessarily Debian issue but did't have this before in Mandrake. I've got 3 partitions extra on my machine. hda1 is the windows drive, hdb1 is Windows D: and hda2 is an archive drive I use for data storage and transfers (formated ext2). Now I've got the permisions set on all those drives to allow group read writes and they are in the disk group which has all my users as part of that group. However when I put auto in fstab for each drive the drive permissions switch to root owner and root group. Making the drives unwritable to users. Then if I manually unmount the drives the permission reverts to what I set it as.
Now I find if I put noauto in fstab and they aren't mounted at boot, I can mount them manually as user and can read write fine.
Now I would like to have these drives mounted with wr permissions for users in group disk as the family isn't as tekkie as me about mounting and unmounting. So am I missing something? Any ideas?
Replace the "auto" entry under "options" with either "defaults" or "user,noauto".
That's the point. I did do that. But that's also the problem. I want the drives to mount auto with user permissions. All three drives have rw,user,noauto for now. SO I can mount them and write to them as user. But I want them already mounted on boot. I did try setting the gid but that didn't help either. Still when they are mounted at boot the permissions are switched to owner root and group root.
Oh, do you mean change the gid of the fstab file itself? Not just the drive dirs in /mnt? I'll try that.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.