I can't access my cd-rom or floppy drive. In konqueror it says "you do not have enough permissions to read file:/mnt/cdrom. In the terminal I get:
[ricardo@Azathoth /mnt]$ cd cdrom/ bash: cd: cdrom/: Input/output error
and even as root:
[root@Azothoth /mnt]# cd cdrom/ bash: cd: cdrom/: Input/output error
In Konqueror, it is also described as a "locked directory". (It even has a big lock icon, just so you know!).
[ricardo@Azathoth /mnt]$ ls -al total 32 drwxr-xr-x 7 root root 4096 Oct 23 22:21 ./ drwxr-xr-x 18 root root 4096 Sep 17 18:30 ../ drwxrwxrwx 1 root root 0 Oct 23 22:23 cdrom/ drwxrwxr-x 2 root root 4096 Oct 23 22:22 disk/ drwxrwxrwx 1 root root 0 Oct 23 22:23 floppy/ drwxrwxrwx 11 root root 8192 Dec 31 1969 win_c/ drwxrwxrwx 27 root root 12288 Dec 31 1969 win_d/
here's my fstab file:
/dev/hda6 / ext2 defaults 1 1 none /dev/pts devpts mode=0620 0 0 /mnt/cdrom /mnt/cdrom supermount =iso9660,dev=/dev/cdrom 0 0 /mnt/floppy /mnt/floppy supermount fs=vfat,dev=/dev/fd0 0 0 /dev/hda1 /mnt/win_c vfat user,exec,umask=0,codepage=850,iocharset=iso8859-1 0 0 /dev/hda8 /mnt/win_d vfat user,exec,umask=0,codepage=850,iocharset=iso8859-1 0 0 none /proc proc defaults 0 0 /dev/hda7 swap swap defaults 0 0
In /dev/ I have these permissions:
[root@Azothoth /dev]# ls -l cdrom lrwxrwxrwx 1 root root 3 Sep 10 16:09 cdrom -> hdc
[root@Azothoth /dev]# ls -l hdc brw------- 1 ricardo cdrom 22, 0 Apr 14 2001 hdc
[root@Azothoth /dev]# ls -l fd0 brw-rw---- 1 ricardo floppy 2, 0 Apr 14 2001 fd0
It does not allow root to change the permissions on hdc, fd0, /mnt/cdrom or /mnt/floppy. I'm stumped. They work in Windows (i.e. the hardware's OK), and I haven't changed anything (doing all the changes on my RH laptop- IceWM rules, btw, Owen ;-). What's going on? The same problem occurs in KDE, Gnome, Afterstep, Icewm and Blackbox. (Didn't try in Enlightenment, but somehow I doubt it is WM-specific!!!). Please help! :( Apologies for such a long e-mail, but I wanted to give as much info as possible.
PS I think Mozilla did something weird with the formatting...
"There are several codes, and I know several of them." -Mr. Precise. http://www.rscampos.net
On Wed, 24 Oct 2001, Ricardo Campos wrote:
In /dev/ I have these permissions:
[root@Azothoth /dev]# ls -l cdrom lrwxrwxrwx 1 root root 3 Sep 10 16:09 cdrom -> hdc
[root@Azothoth /dev]# ls -l hdc brw------- 1 ricardo cdrom 22, 0 Apr 14 2001 hdc
erm, how exactly did hdc get the filename owner of ricardo?
[root@Azothoth /dev]# ls -l fd0 brw-rw---- 1 ricardo floppy 2, 0 Apr 14 2001 fd0
The same for floppy?
Have you done something very odd to your machine? it really does appear so!
abower@dylan:/dev$ ls -l hda brw-rw---- 1 root disk 3, 0 Oct 12 23:37 hda abower@dylan:/dev$ ls -l fd0 brw-rw---- 1 root floppy 2, 0 Aug 8 00:10 fd0 abower@dylan:/dev$
is what mine look like! You may have done something quite bad to your machine, I can't tell exactly what tho?! but the permissions appear to be rather screwed
Sorry I can't be more helpful, but have you done something to you machine like 'chown -R ricardo *' in / ?? (please don't type this command on your linux box, if you do it will break)
Adam