You are not logged in.
Pages: 1
Hey fellow Archers,
Sorry if this is a bit of a Noob Question.
But I am having issues with automounting usb drives that etc.
I am running eeepc 1000 and everything works fine out of the box. But I have shown Arch to a friend of mine and we can't gain access to the usb drive with free.desktop permission error. I have read the wiki and forum posts. However I have found the are for much older versions of HAL and Udev, and they are contradictory.
Please if you could help me clarfiy a solutions. Should Udev handle to mounting and permission rule or should I add HAL policy ?.
If HAL if the best solution could be so kind as to provide a example of Hal policy as my previous attempt to edited HAL has failed.
Kind Regards
Mac Tzu
Remember,
If it is a Placebo You can Believe in it !!!
Offline
Hello
http://wiki.archlinux.org/index.php/HAL permissions polices section.
That may help you
Shell Scripter | C/C++/Python/Java Coder | ZSH
Offline
Great thanks SpeedVin
Could you Show me w copy of your Hal polcy?
Remember,
If it is a Placebo You can Believe in it !!!
Offline
Make sure you are member of storage group and you start your WM with "exec ck-launch-session openbox" in .xinitrc for example (GDM/KDM does this automatically).
Offline
*sigh* whatever happened to the 'old', trusted *nix way?
Why not just manually mount/umount it ?
Why the heck should we copy all windows' mannerisms?
Offline
well, it's much easier just to plug-in USB and browse than manually mount it.
Offline
oh?
sudo mount /dev/sdX1 /mnt/usb
sudo umount /mnt/usb
That doesn't look like a lot of work to me - and in addition, you _know_ what you are doing and after doing a 'umount' you _know_ not to pull the thing out until you get the prompt back. I have seen too many broken fs's because people have pulled out the stick before it was ready!
If you look at the postings in this forum - a disproportionate amount deals with automount (and unmount) - it's just not the *nix way!
Last edited by perbh (2009-08-14 18:50:20)
Offline
I disagree with perbh. I wouldn't want to use mount or pmount for every external drive I plug in.
Offline
Great thanks SpeedVin
Could you Show me w copy of your Hal polcy?
No problem
1 <!DOCTYPE busconfig PUBLIC
2 "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
3 "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
4 <busconfig>
5
6 <!-- This configuration file specifies the required security policies
7 for the HAL to work. -->
8
9 <!-- Only root or user hal can own the HAL service -->
10 <policy user="hal">
11 <allow own="org.freedesktop.Hal"/>
12 </policy>
13 <policy user="root">
14 <allow own="org.freedesktop.Hal"/>
15 </policy>
16
17 <!-- Allow anyone to invoke methods on the Manager and Device interfaces -->
18 <policy context="default">
19 <allow send_destination="org.freedesktop.Hal"
20 send_interface="org.freedesktop.DBus.Introspectable"/>
21 <allow send_destination="org.freedesktop.Hal"
22 send_interface="org.freedesktop.DBus.Properties" />
23
24 <allow send_destination="org.freedesktop.Hal"
25 send_interface="org.freedesktop.Hal.Device"/>
26 <allow send_destination="org.freedesktop.Hal"
27 send_interface="org.freedesktop.Hal.Manager"/>
28
29 <allow send_destination="org.freedesktop.Hal"
30 send_interface="org.freedesktop.Hal.Device.CPUFreq"/>
31 <allow send_destination="org.freedesktop.Hal"
32 send_interface="org.freedesktop.Hal.Device.DockStation"/>
33 <allow send_destination="org.freedesktop.Hal"
34 send_interface="org.freedesktop.Hal.Device.KillSwitch"/>
35 <allow send_destination="org.freedesktop.Hal"
36 send_interface="org.freedesktop.Hal.Device.KeyboardBacklight"/>
37 <allow send_destination="org.freedesktop.Hal"
38 send_interface="org.freedesktop.Hal.Device.LaptopPanel"/>
39 <allow send_destination="org.freedesktop.Hal"
40 send_interface="org.freedesktop.Hal.Device.Leds"/>
41 <allow send_destination="org.freedesktop.Hal"
42 send_interface="org.freedesktop.Hal.Device.LightSensor"/>
43 <allow send_destination="org.freedesktop.Hal"
44 send_interface="org.freedesktop.Hal.Device.Storage"/>
45 <allow send_destination="org.freedesktop.Hal"
46 send_interface="org.freedesktop.Hal.Device.Storage.Removable"/>
47 <allow send_destination="org.freedesktop.Hal"
48 send_interface="org.freedesktop.Hal.Device.SystemPowerManagement"/>
49 <allow send_destination="org.freedesktop.Hal"
50 send_interface="org.freedesktop.Hal.Device.Volume"/>
51 <allow send_destination="org.freedesktop.Hal"
52 send_interface="org.freedesktop.Hal.Device.Volume.Crypto"/>
53 <allow send_destination="org.freedesktop.Hal"
54 send_interface="org.freedesktop.Hal.Device.WakeOnLan"/>
55
56 </policy>
57
58 </busconfig>
59
Nuber's are from Vim
Shell Scripter | C/C++/Python/Java Coder | ZSH
Offline
Pages: 1