Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I just setup a minimal installation of Arch , installed gvfs , thunar-volman.

But mounting disk requires password , this shouldn't happen.

How should I work it out ?

share|improve this question
add comment

1 Answer 1

up vote 9 down vote accepted

The Arch Wiki has a section on the udev page that covers the many ways you can set up automounting.

With a minimal install (without a DE), you can use a udev rule—there are several examples included on the page—or udisks and one of the wrappers like udiskie, or something even simpler like ldm that requires no other tools.

My preference is for udiskie and the storage group.

Essentially, it is just a matter of starting udiskie in your .xinitrc and creating /etc/polkit-1/localauthority/50-local.d/10-udiskie.pkla:

 [Local Users]
 Identity=unix-group:storage
 Action=org.freedesktop.udisks.*
 ResultAny=yes
 ResultInactive=no
 ResultActive=yes

Anyone in the storage group will now be able to mount and unmount devices.

share|improve this answer
    
It worked , but with latest arch linux , use org.freedesktop.udisk2 instead –  warl0ck Apr 27 '12 at 9:39
    
P.S: i just updated that wiki page on arch linux , thanks ! –  warl0ck Apr 27 '12 at 9:54
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.