[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [SOLVED] Re: permissions with udev/pmount?



Hi,

Andrea Vettorello wrote:

On Wed, 29 Dec 2004 11:05:11 +0100, Nicolas de Sereville
<deserevi@ieec.uab.es> wrote:
Hi,

Thank you to H.S. and Andrea! It is now working. The point is that while
trying to understand my problem I erased me from the "hal" group. After
adding me back to this group, everything is working smooth ;-) When I
plug in my stick, my archos or my camera the icon is automatically
appearing on the desktop.

Here are some informations of my configuration if it can help somebody else:
1) I belong to the "plugdev" and "hal" group

2) I have installed:
dpkg -l hal '*dbus*' 'gnome-vol*' hotplug pmount | grep ^ii
ii  hal            0.4.2-5        Hardware Abstraction Layer
ii  dbus-1         0.22-3         simple interprocess messaging system
ii  dbus-glib-1    0.22-3         simple interprocess messaging system
(GLib-b
ii  python2.3-dbus 0.22-3         simple interprocess messaging system
(Python
ii  gnome-volume-m 1.1.2-5        GNOME daemon to auto-mount and manage
media
ii  hotplug        0.0.20040329-1 Linux Hotplug Scripts
ii  pmount         0.4.4-1        mount removable devices as normal user

3) In gnome-volume-properties, I set the three following options:
"Mount removable drives when hot plugged"
"Mount removable media when inserted"
"Browse removable media when inserted"

4) udev rule for my camera:
BUS="scsi", KERNEL="sd*", SYSFS{vendor}="PENTAX  ",
SYSFS{model}="DIGITAL_CAMERA  ", NAME="gyp-ca-%k",
SYMLINK="gyp-ca-usb%n", MODE="0660", GROUP="hal"

5) /etc/fstab line for my camera
/dev/gyp-ca-usb1        /media/camara   auto    rw,user,noauto,sync
0      0

6) /media/camera has been created before by hand

Thanks again for your useful help!
Nico


There's a typo in your /etc/fstab (/media/camara instead of
/media/camera),
you're right, I mixed english (camera) and spanish (camara)

and i'm not sure you need to be in the hal group to
get gnome-volume-manager working...
you are also right, I erased me from the "hal" group and it is working smoothly.

Thanks for pointing out that to me,
Nico




Reply to: