[PlanetCCRMA] device permissions

Nathaniel Virgo nathanielvirgo at gmail.com
Fri Dec 16 13:44:01 PST 2005


Thanks, that did it.  For future reference, I added the lines

<event>=/dev/input/event*
<console>  0600 <event>      0666 root

to /etc/security/console.perms.d/50-default.perms so now all users are
allowed to read and write event devices.

On 16/12/05, Fernando Lopez-Lezcano <nando at ccrma.stanford.edu> wrote:
>
> On Fri, 2005-12-16 at 13:03 +0000, Nathaniel Virgo wrote:
> > Hi,
> >
> > I'm using Fedora core 4 and am using a joystick to interface with
> > SuperCollider.  The problem is that /dev/input/event3 - the device
> > corresponding to the joystick - is always created with permissions
> > such that only root can read from it.  (for some reason SuperCollider
> > doesn't like /dev/input/js0, which does have the correct permissions)
> > What is the correct way to change the default permissions of a device?
> > I currently have a boot script that changes them but if I unplug the
> > joystick and plug it in again the device gets re-created with the
> > wrong permissions again.
>
> The files to tweak are in /etc/security/console.perms.d/, you can either
> change what's there or add a file with what you need. See "man
> console.perms" for more details.
>
> -- Fernando
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://cm-mail.stanford.edu/pipermail/planetccrma/attachments/20051216/1b4ee22b/attachment.html>


More information about the PlanetCCRMA mailing list