LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-22-2009, 02:56 PM   #1
prushik
Member
 
Registered: Mar 2009
Location: Pennsylvania
Distribution: gentoo
Posts: 372

Rep: Reputation: 29
Nautilus refuses to mount as normal user.


I actually haven't tried as root yet, but as a normal user, whenever I try to mount something I get an error message "You are not privileged to mount this volume".
This is a brand new linux system.
I have not modified anything, just installed gnome and gdm.
In my previous linux installation (Ubuntu Intrepid) when I tried to mount a volume, gksu would pop up and ask me for my password. I can mount from command line (with sudo), but I would like to be able to mount from nautilus too.
 
Old 03-22-2009, 03:06 PM   #2
snowman81
Member
 
Registered: Aug 2006
Location: Michigan
Distribution: Ubuntu
Posts: 282

Rep: Reputation: 30
Which distro are you using now?
 
Old 03-22-2009, 03:08 PM   #3
prushik
Member
 
Registered: Mar 2009
Location: Pennsylvania
Distribution: gentoo
Posts: 372

Original Poster
Rep: Reputation: 29
oh sorry, its Debian Lenny
 
Old 03-22-2009, 03:27 PM   #4
manwithaplan
Member
 
Registered: Nov 2008
Location: ~/
Distribution: Arch || Sidux
Posts: 393

Rep: Reputation: 45
Its a Hal user policy issue. Either your user is not added to the correct group, or you need to edit the hal policy that allows you to mount the drives.

Check out this website and see if it helps out. Its about adding policies to HAL. Also audit your user's groups. Too see if your added to storage or whatever Debian's defaults is.
 
Old 03-22-2009, 04:02 PM   #5
prushik
Member
 
Registered: Mar 2009
Location: Pennsylvania
Distribution: gentoo
Posts: 372

Original Poster
Rep: Reputation: 29
Nope, no good. I changed it to allow, restarted hal and still no luck.
I'd rather not allow a regular user to mount, I would like Nautilus to ask me for the password and mount as root.
 
Old 03-22-2009, 05:11 PM   #6
TITiAN
Member
 
Registered: Mar 2008
Location: NRW, Germany
Distribution: Arch Linux, using KDE/Plasma
Posts: 392

Rep: Reputation: 49
Debian's default group for HDD's is plugdev I think
 
Old 03-22-2009, 05:25 PM   #7
prushik
Member
 
Registered: Mar 2009
Location: Pennsylvania
Distribution: gentoo
Posts: 372

Original Poster
Rep: Reputation: 29
I may not have installed pmount at all. Could that be the issue?
 
Old 03-23-2009, 11:24 AM   #8
TITiAN
Member
 
Registered: Mar 2008
Location: NRW, Germany
Distribution: Arch Linux, using KDE/Plasma
Posts: 392

Rep: Reputation: 49
AFAIK pmount isn't needed since the mounting works over HAL and DBus.
 
Old 03-23-2009, 12:16 PM   #9
buccaneere
Member
 
Registered: Nov 2007
Posts: 213

Rep: Reputation: 16
Quote:
Originally Posted by prushik View Post
I actually haven't tried as root yet, but as a normal user, whenever I try to mount something I get an error message "You are not privileged to mount this volume".
This is a brand new linux system.
I have not modified anything, just installed gnome and gdm.
In my previous linux installation (Ubuntu Intrepid) when I tried to mount a volume, gksu would pop up and ask me for my password. I can mount from command line (with sudo), but I would like to be able to mount from nautilus too.
I get this message occasionally when I execute some configuration changes.

I have found that when I get this message after doing these changes, that I can fix this by going into /etc/fstab:
Code:
sudo gedit /etc/fstab
highlight the entry for the device (or partition),
'cut' the line for the device,
'save' config file,
then mount (or unmount) the device,
then 'paste' the line back into /etc/fstab (it should still be on the clipboard)
'save' the file, and close.

It never seems in my case to be a permission issue; rather a somehow improper mount/dismount...
 
Old 03-23-2009, 12:26 PM   #10
TITiAN
Member
 
Registered: Mar 2008
Location: NRW, Germany
Distribution: Arch Linux, using KDE/Plasma
Posts: 392

Rep: Reputation: 49
sudo isn't preconfigured on Debian, like it is on Ubuntu, so "sudo gedit fstab" should be replaced by
Code:
user@pc ~ $     su
(Enter 'root' password)
pc /home/user # gedit /etc/fstab
And Gnome usually doesn't need the fstab.

Last edited by TITiAN; 03-23-2009 at 12:29 PM.
 
Old 03-23-2009, 01:01 PM   #11
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
Are all the necessary packages installed for auto-mount to work ?

aptitude update
aptitude install gnome-volume-manager


go to System>Preferences>Sessions>Startup Programs and make sure Volume Manager is present with a check in the box.


I also like adding disk mounter to the panel. quick access to mounting/unmounting all your removable media
 
  


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
Can browse samba shares in Nautilus as root, but not as normal user DaneM Linux - Software 6 12-07-2007 04:00 PM
Need to mount as normal user, using sudo? SlowCoder Linux - General 2 08-26-2007 06:52 PM
help please: mount -t smbfs -a fails as normal user, as root, doesn't mount anything thevic Linux - Networking 11 04-09-2007 03:09 AM
cannot mount as normal user dave`2005 Linux - Newbie 3 03-16-2006 07:36 PM
normal user can mount? vacilus Linux - Software 1 12-22-2004 11:39 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:28 AM.

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
Open Source Consulting | Domain Registration