[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    Bug#1872: KFM does not unmount properly
From:       "J. David Eisenberg" <nessus () best ! com>
Date:       1999-09-03 13:17:18
[Download RAW message or body]

Package: kfm
Version: 1.167.2.11

Running RedHat 6.0, KDE 1.1, Linux 2.2.5-15

I have created an icon for my CD-ROM; when (as a normal user) I right
mouse-click and choose "mount", it works great -- I get the message:

   Mounting /dev/cdrom

However, when I then right-click the icon and choose "Unmount", I get
the following error dialog (the title says "KFM Error"), and the CD-ROM
remains mounted:

   Could not unmount
   Error log:

   umount: /dev/hdc is not in the fstab (and you are not root)

I was anticipating a message to the effect of "unmounting /dev/cdrom"
followed by a successful unmount, rather than this error message.

The CD.kdelnk file is as follows (owner and group are root/root, but I
get the same problem when I use my "regular user" name and group):
===============
# KDE Config File
[KDE Desktop Entry]
Name[fi]=Tiedostosysteemi
UnmountIcon=cdrom_unmount.xpm
Name[fr]=Périphérique système de fichiers
Name[ru]=æÁÊÌ óÉÓÔÅÍÎÏÇÏ õÓÔÒÏÊÓÔ×Á
Name[sl]=Datoteka za enoto
Name[hr]=Ureðaj datoteènog sustava
Name[pl]=Urz±dzenie
Name[ca]=Dispositiu de sistema de fitxers
Name=File System Device
Name[it]=Dispositivo con Filesystem
Name[da]=Filsystemsenhed
MountPoint=
Name[de]=Dateisystem
Name[sv]=Filsystemsenhet
Name[cs]=Zaøízení souborového systému
Icon=cdrom_mount.xpm
Name[br]=Trobarzhell reizhiad restroù
Dev=/dev/cdrom
ReadOnly=0
Name[sk]=Zariadenie súborového systému (File System Device)
FSType=Default
Name[pt_BR]=Dispositivo de sistema de arquivos
Name[es]=Dispositivo de sistema de archivos
Type=FSDevice
Name[pt]=Dispositivo com Sistema de Ficheiros
Name[is]=Skráakerfistæki
Name[no]=Filsystemenhet
Name[ro]=Dispozitiv de sistem de fiºiere
===============
I have tried setting the setUID bit on the CD.kdelnk file as well, but
that doesn't affect anything either.

My /etc/fstab file is as follows:

======================================================================
/dev/hda6       /               ext2    defaults        1 1
/dev/hda5       /boot           ext2    defaults        1 2
/dev/hda8       /home           ext2    defaults        1 2
/dev/hda7       /usr            ext2    defaults        1 2
/dev/hda10      /usr/local      ext2    defaults        1 2
/dev/hda11      /usr/src        ext2    defaults        1 2
/dev/hda9       swap            swap    defaults        0 0
/dev/fd0        /mnt/floppy     ext2    noauto,user     0 0
/dev/cdrom      /mnt/cdrom      iso9660 noauto,ro,user,exec      0 0
/dev/hda1       /mnt/pchd       vfat    auto,ro,user,exec       0 0
/dev/fd0        /mnt/pcfloppy   vfat    noauto,user     0 0
/dev/sda1       /mnt/pcjaz      vfat    noauto,rw,user,exec 0 0
/dev/sda2       /mnt/jaz        ext2    noauto,rw,user,exec 0 0
/dev/sda4       /mnt/pczip      vfat    noauto,rw,user,exec 0 0
none                    /proc                   proc    defaults       
0 0
none                    /dev/pts                devpts  mode=0622      
0 0
=============================================================================
-- 
J. David Eisenberg
http://www.best.com/~nessus/

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic