Redefining udev permissions on a given device (/dev/isdninfo)

Mikkel L. Ellertson mikkel at infinity-ltd.com
Wed May 2 19:25:47 UTC 2007


Felix Schwarz wrote:
> 
> Mikkel L. Ellertson schrieb:
>> Dumb question - are you rebooting after making the changes? 
> 
> yes.
> 
>> One other thing to check is to see if there is a file in
>> /etc/security/console.perms.d controlling permissions. I don't run
>> ISDN so I am not sure if the software adds a file with its rules
>> like the vdr package does.
> 
> No references to isdn in console.perms.d either but your suggestion was
> helpful nevertheless: I created 60-isdninfo.perms which has the
> appropriate definitions.
> 
Well, one other thing you could try is to create a file
/etc/udev/device.d/15-isdninfo.rules with a line:

KERNEL=="isdninfo", NAME="%k", GROUP="dialout", MODE="0660",
OPTIONS="last_rule"

With the OPTIONS="last_rule" at the end, nothing should overwrite
the permissions. (Console.prems will once someone logs in at the
console if you still have your added rule.) If it does not work,
then chances are something outside of udev is changing the
permissions. But I have no idea what.

Mikkel
-- 

  Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!




More information about the users mailing list