SlackwareThis Forum is for the discussion of Slackware 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.
I have a couple drives: /dev/hda1,hda2, /dev/sdb1, /dev/hdc, /dev/hdd that I want to be able to access and mount as a normal user. The hdas are always in devices:/ in konqueror but the others disappear after I mount them, even though I have a corresponding folder in /mnt. How can I fix that? Also how can I use chmod or something to change the permissions so a regular user can mount it and access the drives?
Open /etc/fstab with you favorite text editor and in the lines pertaining to your cdrom (the one that says something like /dev/hdc /mnt/cdrom), in the fourth column replace "owner" for "user" (without commas). That should allow any user to mount and umount your cdrom device.
Open /etc/fstab with you favorite text editor and in the lines pertaining to your cdrom (the one that says something like /dev/hdc /mnt/cdrom), in the fourth column replace "owner" for "user" (without commas). That should allow any user to mount and umount your cdrom device.
so for the ones containing defaults there should I just use auto (or noauto) with user and ro, so like this:
for flash drive:
auto,user,rw
cdrom:
noauto,user,ro
that seems to work.
Thanks.
THough it may not make a difference for you, I always prefer to replace "user" with "users". This way if user A mounts the CD and leaves it mounted, user B can umount it.
Originally posted by shilo THough it may not make a difference for you, I always prefer to replace "user" with "users". This way if user A mounts the CD and leaves it mounted, user B can umount it.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.