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.
ok, when i connect my pendrive to slackware, it mounts is automatically, now i want it so that any normal user can unmount it, pls tell mw how to do this
in /etc/fstab try changing this line:
/dev/cdrom /mnt/cdrom auto noauto,owner,ro 0 0
to:
/dev/cdrom /mnt/cdrom auto noauto,user,ro 0 0
If that doesnt work try:
man fstab
man mount
man umount
man chmod
man chown
links www.google.com # enter "linux change device permissions cdrom" in the search box.
I have had similar problems with umount from /media.
I fix this problem by mounting on a seperate directory and nominating users in a pendrive entry in /etc/fstab. That way umount is no problem.
Last edited by The_Outlander; 01-23-2007 at 05:26 PM.
you are not getting my point, slackware automatically mounts the volume in /media/<name>
I want it so that a normal user can umount this thing using the unmount command.
For example if I insert my kingston data traveller, it mounts it in /media/KINGSTON, now I have to login as root to unmount this thing, but a normal user should be able to unmount his/her pen drive and go.
I fix this problem by mounting on a seperate directory and nominating users in a pendrive entry in /etc/fstab. That way umount is no problem.
ok, help with this here, how do i do this.
for now what i've done is added an entry in fstab, now it does not mount the pendrive automatically, dunno why, it gives message "cant mount device" and now a user has to mount the device, and also unmount it, I created 2 text files that can do mounting and unmounting, and kept them in /usr/bin, now users just have to run a command to mount, and a command to unmount.
It seems to be working, although manually. To acheive an automatic mount umount in Slackware will require some research. Personally I have never bothered to work it out, satisfied with mount umount in a terminal or right click the device icon and select mount or umount as required. In any case the device seems to need an entry in fstab with users nominated rather than owner which is the slackware default and means root.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.