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? Thanks! |
Edit: oops did not finish reading your post..
swap them places like this: /dev/cdrom /mnt/cdrom iso9660 noauto,users,ro,umask=000 0 0 and do not forget to reboot. sorry but sometimes it messes up if you add options and only reboot will clear it up. Why do you need umask too? Also check that the account you are using is in 'users' group. |
Sometimes "automount"/"supermount" file-systems forbid to mount them by hand, also.
|
Code:
/dev/cdrom /mnt/cdrom iso9660 noauto,owner,users,ro |
No go! Added "owner", checked account was in "users" group... no good :(
Maybe it is the automount thing.... Is there any way I can check if it is the automount thing you suggested pablob? Thanks! |
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! :)
|
All times are GMT -5. The time now is 04:53 AM. |