Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Let users automount USB drives.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
Caze
n00b
n00b


Joined: 16 Apr 2013
Posts: 8

PostPosted: Tue Jun 25, 2013 1:31 am    Post subject: Let users automount USB drives. Reply with quote

In a lot of other distros if you put a flashdrive in the user can mount it from nautilus in gnome. Here it shows up in gnome, but when clicked in nautilus it gives me an "Unable to mount X, Not authorized" message.

I know I could edit the fstab file, or manually mount it as root from the command line, but I would like to be able to put in as many USB flashdrives/harddisks and have it mount them automatically.

The user is in the disk, wheel, cdrom, usb, and users group.

Any help?
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 6615
Location: Goose Creek SC

PostPosted: Tue Jun 25, 2013 2:43 am    Post subject: Reply with quote

the usual way:

have you
Code:
 emerge polkit consolekit udisks
rc-update add consolekit default


Code:
emerge --info | grep -i policykit
if not present add it
_________________
Defund the FCC.
Back to top
View user's profile Send private message
Caze
n00b
n00b


Joined: 16 Apr 2013
Posts: 8

PostPosted: Mon Jul 01, 2013 2:36 am    Post subject: Reply with quote

DONAHUE wrote:
the usual way:

have you
Code:
 emerge polkit consolekit udisks
rc-update add consolekit default


Code:
emerge --info | grep -i policykit
if not present add it


Didn't work for me.

Originally I got around it with my fstab looking like this. (Yes I know it's stupid)

Code:
/dev/sdc1                /media/USBHD    auto            noauto,user  0 0
/dev/sdc2                /media/USBHD2    auto            noauto,user  0 0
/dev/sdc3                /media/USBHD3    auto            noauto,user  0 0
/dev/sdd1                /media/USBHD4    auto            noauto,user  0 0
/dev/sdd2                /media/USBHD5    auto            noauto,user  0 0
/dev/sdd3                /media/USBHD6    auto            noauto,user  0 0
/dev/sde1                /media/USBHD7    auto            noauto,user  0 0
/dev/sde2                /media/USBHD8    auto            noauto,user  0 0
/dev/sde3                /media/USBHD9    auto            noauto,user  0 0
/dev/sdf1                /media/USBHD10    auto            noauto,user  0 0
/dev/sdf2                /media/USBHD11    auto            noauto,user  0 0
/dev/sdf3                /media/USBHD12    auto            noauto,user  0 0


But changing my ~.xinitrc

exec openbox-session

to

exec ck-launch-session openbox-session

Worked better and let me unmount too.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum