LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-24-2010, 08:09 AM   #1
visuh
LQ Newbie
 
Registered: Nov 2010
Distribution: slackware
Posts: 11
Blog Entries: 1

Rep: Reputation: 0
Hal problem


I am unable to mount my ext hdd as normal user ,i am using xfce


Unable to mount "80G Volume":

Rejected send message, 1 matched rules; type="method_call", sender=":1.23" (uid=1000 pid=2776 comm="exo-mount) interface="org.freedesktop.Hal.Device.Volume" member="Mount" error name="(unset)" requested_reply=0 destination="org.freedesktop.Hal" (uid=0 pid=1908 comm="/usr/sbin/hald))
 
Old 11-24-2010, 05:05 PM   #2
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 3,090
Blog Entries: 3

Rep: Reputation: 324Reputation: 324Reputation: 324Reputation: 324
you need to be root to mount. if you do not have it set up in your /etc/fstab then by default slackware has a /mnt/tmp folder slackware 13.0 and up uses sd not hdd
mount /dev/sdXX /mnt/tmp now go to /mnt/tmp and look at your drive. sda1 2 3 4 etc or sdb1 etc sdc1 sdd1
open a terminal and as root type fdisk -l and you will see it. if it is external and a linux partition you will have to be root or give the user permission.
Quote:
(uid=1000 pid=2776 comm="exo-mount)
is you
Quote:
member="Mount" error name="(unset)
says you have no permission to mount.
for this type of stuff you can give the user disk permission in users group. Remember that does open some security holes not very big but some.

if it is a external make sure you have plugdev in your groups.
 
Old 11-25-2010, 05:11 AM   #3
visuh
LQ Newbie
 
Registered: Nov 2010
Distribution: slackware
Posts: 11
Blog Entries: 1

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Drakeo View Post
you need to be root to mount. if you do not have it set up in your /etc/fstab then by default slackware has a /mnt/tmp folder slackware 13.0 and up uses sd not hdd
mount /dev/sdXX /mnt/tmp now go to /mnt/tmp and look at your drive. sda1 2 3 4 etc or sdb1 etc sdc1 sdd1
open a terminal and as root type fdisk -l and you will see it. if it is external and a linux partition you will have to be root or give the user permission.
is you says you have no permission to mount.
for this type of stuff you can give the user disk permission in users group. Remember that does open some security holes not very big but some.

if it is a external make sure you have plugdev in your groups.
Thankyou veru much .Can you give me a little more explination
 
Old 11-25-2010, 04:24 PM   #4
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 3,090
Blog Entries: 3

Rep: Reputation: 324Reputation: 324Reputation: 324Reputation: 324
when you give me you O/S I will help you
 
Old 11-26-2010, 06:49 AM   #5
visuh
LQ Newbie
 
Registered: Nov 2010
Distribution: slackware
Posts: 11
Blog Entries: 1

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Drakeo View Post
when you give me you O/S I will help you
It is slackware 13.1.
I heard i need to do some tinkering with policies or something.
 
Old 11-26-2010, 06:23 PM   #6
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 3,090
Blog Entries: 3

Rep: Reputation: 324Reputation: 324Reputation: 324Reputation: 324
slackware 13.1 all you need to do is give the user daemon for some devices but plugdev is you problem. 13.1 will mount that know problem. and xfce4 will mount it and put a icon on the desk top.
plug it in open a terminal su root and type fdisk -l see your drive.
Quote:
I heard i need to do some tinkering with policies or something.
start xfce4 as root it should mount it. did you do a full install with kde you should. but you do not have to use kde there is some stuff that helps you out.
a full install is recomended.
Quote:
"A security policy in place prevents this sender ..." error

With Slackware 12.0 and onwards, when you are running X Window, and are greeted by the following message when you insert a CD, DVD, or USB stick into the computer:

A security policy in place prevents this sender from sending this message to this recipient, see message bus configuration file (rejected message had interface “org.freedesktop.Hal.Device.Volume” member “Mount” error name ”(unset)” destination “org.freedesktop.Hal”)

this means that you need to add your user account to the plugdev group.
The command to add your account (for example account called “alien”) to the group plugdev is:

gpasswd -a alien plugdev

You need to logout and login again in order for this change to have effect.
If you start your computer in runlevel 3 (non-graphical boot) and run “groups” you will notice that your account seems to be part of the plugdev group already. This is true in a sense: Slackware adds your account to this group and several others like cdrom, floppy dynamically for the duration of your login session. Unfortunately the DBUS/HAL daemons do not use Linux system calls to check your group membership. Instead, they rely on what is written in the /etc/group file.
This HAL related issue is actually explained in the CHANGES_AND_HINTS.TXT file (here is a link to the Slackware 13.1 version of CHANGES_AND_HINTS.TXT. Highly recommened reading material, that file!
thank Alien Bob for his wonderful slack-book

Last edited by Drakeo; 11-26-2010 at 06:28 PM.
 
Old 11-28-2010, 06:15 AM   #7
visuh
LQ Newbie
 
Registered: Nov 2010
Distribution: slackware
Posts: 11
Blog Entries: 1

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Drakeo View Post
slackware 13.1 all you need to do is give the user daemon for some devices but plugdev is you problem. 13.1 will mount that know problem. and xfce4 will mount it and put a icon on the desk top.
plug it in open a terminal su root and type fdisk -l see your drive.

start xfce4 as root it should mount it. did you do a full install with kde you should. but you do not have to use kde there is some stuff that helps you out.
a full install is recomended. This HAL related issue is actually explained in the CHANGES_AND_HINTS.TXT file (here is a link to the Slackware 13.1 version of CHANGES_AND_HINTS.TXT. Highly recommened reading material, that file!
thank Alien Bob for his wonderful slack-book
Thank you Drakeo.
 
  


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
Dual functionality of power button, HAL vs. KDE? ACPID vs HAL? Cotobear Slackware 6 09-12-2009 08:35 PM
cannot mount internal hard drive: .hal-mtab and .hal-mtab-lock messed up extremewaffles Linux - Newbie 3 07-01-2009 06:15 PM
HAL problem when hibernating DavidMcCann Linux - General 1 07-12-2007 11:35 AM
Unstable hal problem loupy Debian 3 02-05-2006 01:06 PM
hal problem fibbi Linux - Software 3 01-11-2006 10:19 AM


All times are GMT -5. The time now is 10:02 PM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration