[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-linux
Subject:    [kde-linux] Unmounting USB Key (not root)
From:       James White <james () resolutionit ! ca>
Date:       2005-09-27 5:33:15
Message-ID: 200509270133.37017.james () resolutionit ! ca
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


I feel like I'm getting "close" to understanding this udev thing... but not 
quite there yet.

I am setting up machines for clients who will have no root access.  They will 
be using USB-Keys - and I cannot identify them in advance by serial number so 
I have entered this in my 10-udev.rules:

KERNEL="sd[a-z][0-9]*", NAME="WonderKey%n", OWNER="root", GROUP="usb", 
MODE="0777"

As expected, I plug in a key and it shows up just nicely in the "Storage 
Media" applet.  Of course it did this BEFORE my rule too, but now it's called 
a "WonderKey".  (The name WonderKey was just so I knew that my rule was 
actually being executed.)

But even with my rule set to give GROUP-"usb" rwx permissions, members of that 
group cannot unmount the key.  The error says:

umount:  only root can unmount /dev/WonderKey1 
from /media/JAMES_KEY"

Which is exactly the situation that caused me to write my rule in the first 
place.

So, WHERE should I be setting the "unmount" permission for my devices?

I bet I am missing something pretty darned basic here - but I've been wracking 
my brain for days on this. 

-- 
James White
GpP: DB56 8EF6

If this helped you, please take the time to rate the value of this 
information:
 http://rate.affero.net/frozenJim/ResolutionIT.ca/


[Attachment #5 (application/pgp-signature)]

___________________________________________________
This message is from the kde-linux mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde-linux.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic