Mounting via CD icon works, but via command line = permission denied
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's 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.
Mounting via CD icon works, but via command line = permission denied
Im having some serious woes trying to mount stuff on my Slackware box.
I have tried everything I could google up (right now, I think even your toaster has access to my CD-ROM) but when i do "mount /dev/cdrom /mnt/cdrom" I always get "mount: only root can do that". Same for when I try to mount my USBdisk.
BUT, when I choose "mount" from the KDE cdrom icon, it mounts fine. And if I run KsCD cd player it plays fine too.
My fstab file has
/dev/cdrom /mnt/cdrom iso9660 noauto,umask=000,users,ro 0 0
/dev/sda /mnt/usbdisk auto noauto,users 0 0
in it, and everything related to the drives has full access to everyone AND the SUID bit set (I'll change it when i fix it - promise!)
Does anyone have any suggestions I might try to get this to mount?
try just doing mount /dev/cdrom or mount /mnt/cdrom
if you leave some blanks, mount will search your fstab for appropriate entries and use those optitions you specified; otherwise, explicitly telling mount where and what to mount ignores fstab
also, if that above doesn't work, try changing "users" to "user" in your fstab options line
Holy moly - just doint mount /mnt/cdrom worked! Ive never seen that advice anywhere else - you have ended my many-houred search! Thank you - You indeed are the OneAndOnlySM!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.