mount cdrom does not work
I have tried to mount my cdrom drive as a user and get the following error message:
Code:
mount /dev/hdc /media/cdrom I'm currently running Slackware with kernel 2.6.17.13 with udev support. I have turned off rc.hotplug from /etc/rc.d my fstab is as follows Code:
/dev/hda2 swap swap defaults 0 0 Code:
ls -al /dev |grep cdrom Code:
ls -al |grep cdrom |
Permission of /dev/hdc are such that only root user or a user belonging to group "cdrom" can access the cdrom.
So either add your user to group "cdrom" (see adduser man pages) or change permission of /dev/hdc. To change permission of /dev/hdc, type in as root chmod 666 /dev/hdc then type in as your user: mount /media/cdrom It should be fine |
Quote:
Code:
$ mount /media/cdrom |
Quote:
you can either give "mount /media/cdrom" or the full manual command as root like, "mount -t iso9660 /dev/hdc /media/cdrom" also dont change /dev permissons IMPORTANT i found that there are unwanted simlinks pointing to your cd drive /dev/hdc please remove all the simlinks to /dev/hdc and please make a new one like "ln -sf /dev/hdc /dev/cdrom" |
I've tried all of the above suggestions and have still come up with the same error of :
Code:
mount: must be superuser to use mount |
Have you somehow changed the permissions of /bin/mount?
Code:
-rwsr-xr-x 1 root root 60576 2006-09-25 10:48 /bin/mount |
Quote:
How do you reset the permission for mount. I'm not sure how you got the rws??? |
Thank.
Its working now. Not sure what happen to the permissions on the mount and umount command. I fixed this up and now i can mount the drive as a user. Thanks guys for all your help. |
All times are GMT -5. The time now is 11:52 PM. |