On Mon, May 04, 2009 at 08:33:11AM +0800, bill lam wrote: > On Sun, 03 May 2009, Leandro Chescotta wrote: > > yes, i dont know how to mount as user instead of root with skvm too, i > > think a sudo umount /dev/sdX[n] with be ok, but i really like the > > devices to be mounted as my user > > I only use one dvd drive and use one usb at a time. I use pmount but I > think that you still have to add yourself to a particular group before > you can use pmount.
i used something similar but with simple mount. > static const char *mountusb[] = { "pmount", "/dev/sda1", NULL }; > { MODKEY, XK_F2, spawn, {.v = > mountusb } }, on my system i need to add something like hiro bonsai=NOPASSWD:/sbin/mount to my /etc/sudoers and then i can bind $ sudo /sbin/mount -o uid=1000 /dev/sda1 /mnt/usb to keystrokes (my user has user id 1000). regards, y0shi