[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: Re: Mount fails for non-root users (device:/ ioslave & desktop)
From: Manuel Amador <amadorm () usm ! edu ! ec>
Date: 2002-12-19 21:42:23
[Download RAW message or body]
This is almost surely a consequence of devices:/ calling
"mount -o iso9660 /dev/cdrecorder /mnt/cdrecorder"
instead of
"mount /dev/cdrecorder"
The only way you'll get mount to work properly is if the devices:/ slave
has intelligence built in to use the second form whenever you're a
regular user and what you want to mount appears in fstab.
El vie, 13-12-2002 a las 08:35, Alexandros Karypidis escribió:
> Hello all,
>
> I've compiled and installed all KDE 3.1 rc5 packages, except for kdebindings
> on a i386 SuSE 8.1 Linux.
>
> I have a problem with the devices:/ filesystem. When I login as a user and try
> to mount a CDROM or floppy, I get the message:
>
> "mount: only root can do that".
>
> This happens both when I click on the device icon in a konqueror window which
> is showing the "devices:/" URL, as well as when I click on the Desktop icons
> when I select unmounted devices to appear on my Desktop.
>
> My fstab allows users to mount removable media:
>
> /dev/cdrecorder /media/cdrecorder auto ro,noauto,user,exec 0 0
> /dev/cdrom /media/cdrom auto ro,noauto,user,exec 0 0
> /dev/fd0 /media/floppy auto noauto,user,sync 0 0
>
> If I try "mount /media/cdrom" from konsole's bash prompt the mount succeeds.
> Furthermore, the device icon is updated in konqueror and right-clicking to
> unmount the device DOES work.
>
> If I run konqueror from konsole to view the debug messages, I see the
> following:
>
> --- CUT HERE ---
> kio (UIServer): UIServer::newJob observerAppId=anonymous-1771. Giving id=9
> kio (UIServer): UIServer::mounting 9 /dev/cdrom
> kio_file: MOUNTING fstype= dev=/dev/cdrom point= ro=false
> kio_file: FileProtocol::mount _fstype=
> kio_file: /bin/mount -t '' '/dev/cdrom' ''
> 2>/tmp/kde-karypid/kio_fileXJcsza.tmp
> kio (UIServer): UIServer::jobFinished id=9
> --- CUT HERE ---
>
> As can be seen, the "mount" command attempted tries to specify the type of
> file-system and the target mount directory, which is only allowed for root.
>
> --
> To err is human, but to forgive is beyond the scope of the Operating System...
>
> Alexandros Karypidis
> University of Thessaly
> Computer & Communications Engineering dept.
>
>
> >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic