LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Desktop (https://www.linuxquestions.org/questions/linux-desktop-74/)
-   -   how to configure konqueror to mount flashdisk as non root (https://www.linuxquestions.org/questions/linux-desktop-74/how-to-configure-konqueror-to-mount-flashdisk-as-non-root-660648/)

WorldIsNotFair 08-05-2008 11:40 AM

how to configure konqueror to mount flashdisk as non root
 
Hello all, newbie need help,

Every time i login as non root user, plug a thumbdrive, konqueror cannot

mount it 'must be superuser to mount'.

I wanna ask how to create some profile maybe ?

i had configure sudo bout this, but surely, i don't want to open

my console just to mount a thumbdrive.

Any answer is really appreciated.


Regards,

Heinz

arizonagroovejet 08-05-2008 01:19 PM

What distro are you using and what version? What version of KDE? (If not sure run kcontrol) Any recent distro should mount USB drives automatically using HAL which will create a mount point in /media and mount the device there for you. Also KDE 3.5.5 and beyond (I think 3.5.5 was when it was introduced) should pop up a dialogue telling you that a new device has been mounted and asking if you want to open Konqueror. What do you get if you run

Code:

$ ps aux | grep hald
If there is no output other than the grep command then what does

Code:

$ ls -l /etc/init.d/hal*
get you?

WorldIsNotFair 08-06-2008 10:49 AM

i'm using slackware 12.0 and konqueror version is 3.5.7

yes, after i plug a thumbdrive, its prompt to open it with konqueror,

but the point is, it can't be mounted because i login as normal user.

Is there any option on konqueror ? so maybe i can give sudo parameter when konqueror open up.

Below is the result of hald grep

82 3037 0.1 0.1 5620 3792 ? Ss 22:40 0:00 /usr/sbin/hald --daemon=yes
root 3038 0.0 0.0 3096 1008 ? S 22:40 0:00 hald-runner
82 3046 0.0 0.0 2112 896 ? S 22:40 0:00 hald-addon-keyboard: listening on /dev/input/event0
82 3049 0.0 0.0 2108 928 ? S 22:40 0:00 hald-addon-acpi: listening on acpid socket /var/run/acpid.socket
82 3050 0.0 0.0 2112 896 ? S 22:40 0:00 hald-addon-keyboard: listening on /dev/input/event1
82 3051 0.0 0.0 2112 896 ? S 22:40 0:00 hald-addon-keyboard: listening on /dev/input/event2
82 3052 0.0 0.0 2112 900 ? S 22:40 0:00 hald-addon-keyboard: listening on /dev/input/event4
root 3054 0.0 0.0 3148 972 ? S 22:40 0:00 hald-addon-storage: polling /dev/hda (every 2 sec)


thanks, your reply is really appreciated.

arizonagroovejet 08-06-2008 04:22 PM

Hmmm. I suspect the problem is not actually Konqueror related and the 'must be superuser to mount' is produced by some other process and Konqueror is just relaying it to you. What permissions do you have on /bin/mount? Should be -rwsr-xr-x or at least that's what it is on my Kubuntu and SuSE systems.
Do you have a plugdev group? If so, are you in it?
Can't think of anything other than that. I use Kubuntu and KDE running on SuSE on a daily basis and USB drives just mount automatically without any problems on both systems.

WorldIsNotFair 08-07-2008 11:01 AM

wow, thanks,

i see that on slackware the default perm is 755, i modify it to rws on owner perm.

No problem now, konqueror can mount it.

can u explain more bout this ? i'm newbie on linux, & its better that i have a clear concept between kde and file permission,

expecially execute files.


Thanks bro, you and this forum had keep me on using linux.


All times are GMT -5. The time now is 03:23 AM.