[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 14:33:56 +0100, Nicolas de Sereville
<deserevi@ieec.uab.es> wrote:
Hi,

H. S. wrote:

Apparently, _Nicolas de Sereville_, on 24/12/04 05:13,typed:


[...]

However when I use pmount in a terminal as a normal user ("pmount"), it
tells me:
zsh: permission denied: pmount.

Can someone having udev/hal/hotplug/gnome-volume-manager running check
the permission of the pmount file. I have:
-rwSr--r--  1 root plugdev 22K 2004-12-16 19:24 /usr/bin/pmount

I tried to make executable this file for everybody and then I can pmount
manually the device (pmount /dev/gyp-cl-usb /stick) but it doesn't work
automatically when I insert my stick.

Well as you can see I am stuck, so any ideas are welcomed!
Nico


ls -l /usr/bin/pmount
-rwsr-xr--  1 root plugdev 22520 2004-12-16 19:24 /usr/bin/pmount*

Try reinstalling the "pmount" package, your permissions are strange,
missing execution bit...


Andrea

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?

Nico



Reply to: