You are not logged in.

#1 2004-01-25 09:45:33

Moo-Crumpus
Member
From: Hessen / Germany
Registered: 2003-12-01
Posts: 1,442

usb-storage permission for users

Hi, I will need some more help.

I installed gtkam, and my digikam is well detected. It is only usable by root, not by user. No surprise, this is what it is expected to do (although there is no sense in it, isn't it?). I want to change the rigths to make it usable as user. The readme of gtkam / gphoto2 shows no solution, as some scripts are needed that normaly rest inside the /usr/share/doc/gphoto2 folders - but those are striped by makepkg. Hell, furthermore, online documantation of arch is rather weak, I have no idea which tools to use to change user's groups and rights. I am not happy with the "we don't need docs becouse it  is all online" paradigm, as online docs are hardly available.

Quest One - Could one help me out tweaking usb usage for users?
Queast Two - How to contribute / push online documentation?

PS: does arch include any package to read / export / print man-pages?


Frumpus addict
[mu'.krum.pus], [frum.pus]

Offline

#2 2004-01-25 10:52:26

Blaasvis
Member
Registered: 2003-01-17
Posts: 467

Re: usb-storage permission for users

Quest One - Could one help me out tweaking usb usage for users?
I thougt this was handeld by hotplug, you might want to read up to it.


Freedom is what i love

Offline

#3 2004-01-25 11:13:54

Moo-Crumpus
Member
From: Hessen / Germany
Registered: 2003-12-01
Posts: 1,442

Re: usb-storage permission for users

Blaasvis wrote:

Quest One - Could one help me out tweaking usb usage for users?
I thougt this was handeld by hotplug, you might want to read up to it.

Would be a bad idea, allowing hotplug managing user privileges (besides it has not the power to do that). No, the usb system is doing well, the privileges are default (only root) but I want to use it as a user.


Frumpus addict
[mu'.krum.pus], [frum.pus]

Offline

#4 2004-01-25 12:17:51

andy
Member
From: Germany
Registered: 2002-10-11
Posts: 374

Re: usb-storage permission for users

About USB and hotplug : Yes, hotplug can actually change permissions for devices - I just made a package with the exact same problems (a USB device which users would like to access). Fortunately, the package even contained a script how to solve the problem, and I made the package to execute this script upon installation. Now, you could kindly ask the maintainer of gphoto2 to do something similar - or even provide the solution :-) ....

About your very problem : a quick digging through www.gpoto.org :
http://www.gphoto.org/doc/manual/permissions-usb.html

Now the more general problems:
About the documentation, check the documentation forum - hmmm I think you already engaged in some discussion there ;-) ... I guess the best way is to contribute documentation. But then again, it should not be duplicate  documentation - and this whole discussion should happen in the right forum :-)

About the man pages :

man -t man > man.ps

produces a PostScript version of the man page of man. If your printer is working, you can try

man -t man | lpr

and you can pick up said man page from your printer.

Offline

#5 2004-01-25 16:45:40

Xentac
Forum Fellow
From: Victoria, BC
Registered: 2003-01-17
Posts: 1,797
Website

Re: usb-storage permission for users

I've included all the scripts that gphoto2 gives you to configure hotplug based on the page that andy mentioned.  I got gphoto2 working by doing exactly that.


I have discovered that all of mans unhappiness derives from only one source, not being able to sit quietly in a room
- Blaise Pascal

Offline

#6 2004-01-25 17:06:54

Moo-Crumpus
Member
From: Hessen / Germany
Registered: 2003-12-01
Posts: 1,442

Re: usb-storage permission for users

OK, will struggle further with it, and post result.
Thanks again.


Frumpus addict
[mu'.krum.pus], [frum.pus]

Offline

#7 2004-01-25 17:29:11

Moo-Crumpus
Member
From: Hessen / Germany
Registered: 2003-12-01
Posts: 1,442

Re: usb-storage permission for users

... worked after I fetched those scripts out of the sources.
Thanks for telling me that it works with arch, I have tried it twice some days before, and it was not working. I think it was my own fault. With "WILL work that way with your distro, stupid" in mind I have done it.

Once again, thanks for your patience, and not trying to stall me by rtfm.


Frumpus addict
[mu'.krum.pus], [frum.pus]

Offline

#8 2004-01-25 17:31:33

Xentac
Forum Fellow
From: Victoria, BC
Registered: 2003-01-17
Posts: 1,797
Website

Re: usb-storage permission for users

[jchu@aries jchu]$ pacman -Ql libgphoto2
libgphoto2 /usr/
libgphoto2 /usr/bin/
...
libgphoto2 /usr/lib/libgphoto2/print-usb-usermap
...
libgphoto2 /usr/share/libgphoto2/2.1.3/linux-hotplug/
libgphoto2 /usr/share/libgphoto2/2.1.3/linux-hotplug/usbcam.console
libgphoto2 /usr/share/libgphoto2/2.1.3/linux-hotplug/usbcam.group
libgphoto2 /usr/share/libgphoto2/2.1.3/linux-hotplug/usbcam.user
libgphoto2 /usr/share/libgphoto2/2.1.3/linux-hotplug/usbcam.x11-app
...

With those scripts you mean?  I said I included them... did you not believe me?[/code]


I have discovered that all of mans unhappiness derives from only one source, not being able to sit quietly in a room
- Blaise Pascal

Offline

Board footer

Powered by FluxBB