[PlanetCCRMA] device permissions
Fernando Lopez-Lezcano
nando@ccrma.Stanford.EDU
Fri Dec 16 10:23:01 2005
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