Click to See Complete Forum and Search --> : access denied


Harry Fulkerson
05-23-2001, 01:42 PM
I just upgraded to LM 8.0 and now i can't access my floppy, CD rom, or my zip drive.What happened? Tried as root, no luck.
When i look at them, with a file mgr. there is a lock on all of them. How do i get back control? :(

Lorithar
05-23-2001, 02:51 PM
check /etc/fstab and/or /etc/mtab for permissions details.
man fstab and man mtab for details.

jharrison
05-23-2001, 03:46 PM
I'm experiencing a similar problem with Drake 8. Whenever I try to mount my CDROM, I'm told that I don't have access rights to this location.
I read another post on this topic, and was directed to the Linux-Mandrake website demo. I confirmed that the cdrom was working and that Linux had recognized it, then I followed these steps:
"Open a terminal window and after logging in as "su", enter the following command:
cd /dev && rm cdrom && ln -s scd0 cdrom,
then enter "y" to confirm the deletion.
What this does is change to the device directory, remove the old link, and create a new symbolic link from scd0 to cdrom.
You should immediately be able to access the drive."
Well, I wasn't. So I tried three times. I checked the link to the drive, I tried it with a disc in and with no disc in...nothing.

My fstab line looked like this:
/mnt/cdrom /mnt/cdrom supermount fs=iso9660, dev=/dev/cdrom 0 0

BTW: I don't have access rights as root
either.
Before I did the 'fix', the cdrom was
readable when RPMDrake needed one of
the two install discs, but not now...

Since I have a CDRW, I then tried changing my fstab line to look like this:
/mnt/cdrom /mnt/cdrom supermount fs=iso9660, dev=/dev/scd0 0 0

But still no access rights.

Now I just wish I could restore it to its original state, at least then I could install RPMs from the install discs. I've looked around on the Drake sites, but Drake 8 may still be too fresh for the fix to be available...

:(

Linuxcool
05-23-2001, 11:12 PM
You may be able to get back your old configuration by modifying the commmands you first executed.

I believe if you change the line to read cd /dev && rm cdrom && ln -s hdx cdrom . Where ' x ' is letter for your cdrom. In my case, it is ' c '. So, the command would read for my setup cd /dev && rm cdrom && ln -s hdc cdrom . You'll probably also have to change back your fstab file to way it was.

As for access, try modifying your fstab entry from /mnt/cdrom /mnt/cdrom supermount fs=iso9660, dev=/dev/cdrom 0 0 to /mnt/cdrom /mnt/cdrom supermount fs=iso9660, dev=/dev/cdrom, user 0 0 . Note the word ' user ' I added.