LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices

Reply
 
Search this Thread
Old 08-05-2008, 11:40 AM   #1
WorldIsNotFair
Member
 
Registered: Jun 2008
Location: Jakarta
Distribution: CentOS 5
Posts: 89

Rep: Reputation: 17
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
 
Old 08-05-2008, 01:19 PM   #2
arizonagroovejet
Senior Member
 
Registered: Jun 2005
Location: England
Distribution: SLED, openSUSE
Posts: 1,022

Rep: Reputation: 173Reputation: 173
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?
 
Old 08-06-2008, 10:49 AM   #3
WorldIsNotFair
Member
 
Registered: Jun 2008
Location: Jakarta
Distribution: CentOS 5
Posts: 89

Original Poster
Rep: Reputation: 17
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.
 
Old 08-06-2008, 04:22 PM   #4
arizonagroovejet
Senior Member
 
Registered: Jun 2005
Location: England
Distribution: SLED, openSUSE
Posts: 1,022

Rep: Reputation: 173Reputation: 173
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.
 
Old 08-07-2008, 11:01 AM   #5
WorldIsNotFair
Member
 
Registered: Jun 2008
Location: Jakarta
Distribution: CentOS 5
Posts: 89

Original Poster
Rep: Reputation: 17
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
smb mount folders disappear on mount & konqueror smb fails: network unreachable tisource Linux - Networking 1 10-17-2007 12:30 AM
how to configure konqueror servicetypes? syvy Slackware 1 12-15-2006 04:20 AM
[root@Linuxboy magicolor2430DL-1.1.0]# ./configure ./configure: No such file or ... anseK Mandriva 7 01-02-2006 04:21 PM
How to mount USB FlashDisk: SanDisk Cruzer Mini? acer_peri Linux - Hardware 5 09-29-2004 03:22 AM
Firebird&dillo0.8.1 installation failed,how to mount USB flashdisk prctom VectorLinux 0 06-30-2004 04:57 AM


All times are GMT -5. The time now is 05:28 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration