#19 fix udev issues by writing new udev rules

open
nobody
None
5
2008-11-27
2008-11-16
Anonymous
No

umtsmon is able to spot problems related to insufficient file/device permissions. This is good, however the "fixing strategy" is somewhat flawed with any 2.6 kernel due to the fact that dev entries are no longer kept statically on the file system, but rather created dynamically at runtime via "udev". Thus, while fixing device permissions does work, it is only of temporary use. A better strategy would be to install a corresponding hal-script that ensures that the entries have the right permissions (user/group) set.

So that whenever a device is hotplugged, the script will directly ensure that the created device files end up having the right permissions.

Discussion

  • yes, that's right-but you can easily provide naming and permission rules for the udev devfs, just check out /etc/udev/rules.d/ where you can place rules to name and chmod/chgrp device files

     
  • Klaas van Gend
    Klaas van Gend
    2008-11-27

    I'm not a fan of this because it is too system-dependent to my taste.
    I'd prefer to see users register themselves as part of the right groups (that fix is planned for the 0.10 release).

     
  • Klaas van Gend
    Klaas van Gend
    2008-11-27

    • summary: really "fixing" issues --> fix udev issues by writing new udev rules