Re: devfs problem (was: Re: 5.x & usb & gphoto

From: Thomas T. Veldhouse (veldy_at_veldy.net)
Date: 06/17/03

  • Next message: Marcel Moolenaar: "Re: Tools to modify shared libraries"
    To: <jesse@wingnet.net>
    Date: Tue, 17 Jun 2003 11:20:20 -0500
    
    

    I just looked in /etc/devfs.conf ... so here is a guess ;)

    # Allow members of group operator to cat things to the speaker
    perm ugen0 0664

    Tom Veldhouse

    ----- Original Message -----
    From: "Jesse Guardiani" <jesse@wingnet.net>
    To: <freebsd-questions@freebsd.org>
    Sent: Tuesday, June 17, 2003 10:56 AM
    Subject: devfs problem (was: Re: 5.x & usb & gphoto

    > Jesse Guardiani wrote:
    >
    > > Howdy list,
    > >
    > > I'm trying to get gphoto2 to connect to my digital
    > > camera as a NON root user. (it works fine when root,
    > > but that's a security risk)
    > >
    > > Under 4.x, all I had to do was make the appropriate
    > > USB devices group readable and writeable, then add
    > > users to the appropriate group (operator, usually).
    > >
    > > Under 5.x, I'm having more trouble. The /dev/usb*
    > > devices have the appropriate group permissions out
    > > of the box, but I apparently also need group write
    > > permission to the /dev/ugen* devices.
    > >
    > > Here are the ugen permissions when my camera is attached
    > > to the usb port:
    > >
    > > [11:40]jesse@trevarthan:[/etc]# ls -al /dev/ugen*
    > > crw-r--r-- 1 root operator 114, 0 Jun 13 09:07 /dev/ugen0
    > > crw-r--r-- 1 root operator 114, 1 Jun 13 09:07 /dev/ugen0.1
    > > crw-r--r-- 1 root operator 114, 2 Jun 13 09:07 /dev/ugen0.2
    > >
    > >
    > > The problem is that I'm unfamiliar with devfs, and
    > > I can't figure out how to get the ugen devices to
    > > appear with group writable permissions.
    > >
    > >
    > > Any help appreciated! Thanks.
    > >
    >
    > Anyone? Anyone at all? Surely someone here has a wee bit of
    > experience with devfs...
    >
    >
    >
    > --
    > Jesse Guardiani, Systems Administrator
    > WingNET Internet Services,
    > P.O. Box 2605 // Cleveland, TN 37320-2605
    > 423-559-LINK (v) 423-559-5145 (f)
    > http://www.wingnet.net
    >
    >
    > _______________________________________________
    > freebsd-questions@freebsd.org mailing list
    > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
    > To unsubscribe, send any mail to
    "freebsd-questions-unsubscribe@freebsd.org"
    >

    _______________________________________________
    freebsd-questions@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-questions
    To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"


  • Next message: Marcel Moolenaar: "Re: Tools to modify shared libraries"

    Relevant Pages

    • Re: LD_ASSUME_KERNEL support for feisty
      ... Yes, I have the permissions. ... can you execute ?>ldd executable_file and send it to us? ... Modify settings or unsubscribe at: ...
      (Ubuntu)
    • Re: Unable to su as a user, I get: Cannot execute /bin/bash: Permission denied
      ... sorry..i lost you on that...you think that someone changed the permissions ... It'll be executed by the user, not root. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ... Also to be a right prat, chmod a-x `which chmod` (don't do it, but i've ...
      (Debian-User)
    • Re: LD_ASSUME_KERNEL support for feisty
      ... Yes, I have the permissions. ... can you execute ?>ldd executable_file and send it to us? ... Modify settings or unsubscribe at: ...
      (Ubuntu)
    • Re: undeleteable file
      ... It has really strange permissions, and it's in lost+found, which is ... an indication that you have already had some form of filesystem ... That's not really a problem - I'm running Sid so there isn't much on ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
      (Debian-User)
    • Re: Permission denied error while doing a "make installworld"
      ... "Kevin Greenidge" wrote: ... > permissions or anything so I baffled as to why the error below may be ... > santacruz# make installworld ... > To unsubscribe, send any mail to ...
      (freebsd-questions)