making drives mountable and writable by non-root users in fstab
Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with 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.
Distribution: Slack 10.0, have used Mandrake 10.0, Suse 9.1
Posts: 60
Rep:
making drives mountable and writable by non-root users in fstab
Hi, as the subject states, I'm having problems mounting and writing to some of my drives, namely my windows hd, zip drive, and cdrom. I can mount the zip drive (the windows hd is mounted at bootup) and I can read them all as root. I would like to be able to mount and umount both the cdrom and zip, and to read and write to the windows drive (mounted at /windows). I'm pretty sure this has something to do with /etc/fstab. here's my file:
The numbers on the right are something else entirely (check the man page for fstab if you want to know the details - they're for fscking and backing up). For your cdrom and zip drive, try adding ",user" to the options section. This will allow regular users to mount and unmount that filesystem.
You may also have to change the permissions on /dev/cdrom but try the above and see if it works and allows you to mount the cd drive. Is that an ide zip drive? Usb zip drives are usually designated /dev/sda4. The trailling digits designate the type of filesystem checks that are performed on boot and have nothing to do with permissions. Vfat(FAT32) should have a trailing "0 0". "User" is normally used to give ordinary users the right to mount, a right which is normally reserved for root. "Umask=0" is used to give ordinary users write permission to a FAT32 file system.
Distribution: Slack 10.0, have used Mandrake 10.0, Suse 9.1
Posts: 60
Original Poster
Rep:
Yes, hde4 is indeed an IDE zip drive. sorry I didn't specify that, i have tried changing the permissions in, say, konqueror as root(rightclick, properties, permissions), but that doesn't work.
Anyway, thank you both very much for the detailed replies. kilgoretrout, i will try your recommendations and reboot to test.
asdfjkl; - congrats on solving the problem and thanks for posting back with the solution. That will be a huge help to any future readers with the same issue.
Also big thanks to CroMagnon and kilgoretrout for taking the time to respond. Thanks both of you -- J.W.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.