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

Re: permissions with udev/pmount?





Andrea Vettorello wrote:

On Tue, 28 Dec 2004 15:46:34 +0100, Nicolas de Sereville
<deserevi@ieec.uab.es> wrote:

[...]

Hi, thank you for your help,

I reinstalled the "pmount", "gnome-volume-manager" and
"gnome-desktop-environement" packages. Now I have:
ls -l /usr/bin/pmount
-rwsr-xr--  1 root plugdev 22K 2004-12-16 19:24 /usr/bin/pmount*

But the icon of my stick is still not appearing when I plug it in.
However I can pmount it manually with:
pmount /dev/gyp-cl-usb /stick
with the following warning:
Warning: device /dev/gyp-cl-usb is already handled by /etc/fstab,
supplied label is ignored

The devices nodes are well created and the permissions are the following:
ls -l /dev/gyp*
brw-rw----  1 root hal  8, 0 2004-12-28 15:35 /dev/gyp-cl-sda
lrwxrwxrwx  1 root root   10 2004-12-28 15:35 /dev/gyp-cl-usb -> gyp-cl-sda

Am I missing something? Which logs can I check to see what's wrong with
pmount? Is it a problem of the gnome-volume-manager?


Do you have all the needed packages ("udev" "hal" "fam" etc.)? Also,
look in /etc/udev/rules.d for a symlink to /etc/udev/hal.rules...


Andrea

I reinstalled the "udev" and "hal" packages and I have the "fam" package:
ii  fam            2.7.0-6        File Alteration Monitor

It doesn't change anything, the icons still don't appear :-(

Also,
ls -l /etc/udev/rules.d
total 1,0K
lrwxrwxrwx 1 root root 19 2004-12-28 17:02 cd-aliases.rules -> ../cd-aliases.rules
-rw-r--r--  1 root root 843 2004-12-26 00:14 gyp_udev.rules
lrwxrwxrwx  1 root root  13 2004-12-28 17:02 udev.rules -> ../udev.rules
lrwxrwxrwx 1 root root 12 2004-12-28 17:02 z_hal-plugdev.rules -> ../hal.rules

But now I manage to get automatically an icon for my camera and stick when I start an Xsession as root! :-) So I guess I have a problem of groups or permission.

Any ideas of what I can further check?

Now I will make a detail comparison of the logs when I am root or not.

Thank you,
Nico




Reply to: