This is a discussion on USB access as user within the Slackware Linux Support forums, part of the Unix Operating Systems category; --> Hi all, I am not able to use my digital camera as a user, while I can do it ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Hi all, I am not able to use my digital camera as a user, while I can do it as a root; how can I enable access for all users to usb devices? I'm using udev, so until I do plug the camera in, there's no device to be permanently chmodded... Scanner works great by changing /etc/hotplug/usb/libusbscanner and setting preference for the newly created device at 666. I don't know how to force hotplug to give *all* the usb devices 666 status... Anyone's got hints? Ciao & thanks, Lorenzo |
| |||
| Lorenzo wrote: > Hi all, > > I am not able to use my digital camera as a user, while I can do it as a > root; how can I enable access for all users to usb devices? > I'm using udev, so until I do plug the camera in, there's no device to be > permanently chmodded... probably the easiest way would be to modify your /etc/fstab to include your digital camera, this also means using 'user' option. this way you can mount it as user, without the worries of accessing directly the device. |
| |||
| > $ su > # echo '/dev/sda1 /mnt/camera umsdos noauto,user,ro 0 0' \ > >> /etc/fstab Bad idea. /dev/sda1 may be a flash card reader already (as with me). ~Mik -- Top-Bottom Programming never gets you where you wanted to go. Bottom-Top Programming gets you where you never wanted to go. while not life: sleep((sleep.normal_time - 5h)); eat(mode=fast); pc_mainloop() |
| |||
| Mario Berger <no_damned_spam@nospam.no> wrote in message > Bad idea. /dev/sda1 may be a flash card reader already (as with me). Yes, I occasionally have the same problem (camera + flash card) :-( The kernel, I suppose, assigns /dev/sda1 to the first device connected. Is it true ? In this case, how can we work around it ? Nellinux |
| |||
| Nello Sola wrote: > Mario Berger <no_damned_spam@nospam.no> wrote in message > The kernel, I suppose, assigns /dev/sda1 to the first device connected. > Is it true ? yes. > In this case, how can we work around it ? udev. -- Joost Kremers joostkremers@yahoo.com Selbst in die Unterwelt dringt durch Spalten Licht EN:SiS(9) |
| ||||
| Nello Sola wrote: > Mario Berger <no_damned_spam@nospam.no> wrote in message > The kernel, I suppose, assigns /dev/sda1 to the first device connected. > Is it true ? yes. > In this case, how can we work around it ? udev: <http://www.reactivated.net/udevrules.php> pay special attention to persistent naming. -- Joost Kremers joostkremers@yahoo.com Selbst in die Unterwelt dringt durch Spalten Licht EN:SiS(9) |