Add options to the asus_acpi module
Bug #17100 reported by
Vincent Untz
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
acpi-support (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
The asus_acpi module loaded by the acpid init.d script provides some files in
/proc/acpi/asus.
However, by default, these files have 666 for permission. This is a problem
since all users can modify some options, and, for example, deactivate the LCD.
The module has two options: uid and gid, that will change the owner of the
files. If one of these options is used, then the permissions will be 660.
I suggest that acpi-support provides a /etc/modprobe.
that will contain a line like:
options asus_acpi gid=x
where x is a sensible group (it should be different than 0).
Another option would be to modify the asus_acpi to create the files with 644
permission.
To post a comment you must log in.
I've set this to 0 for now. The admin group would be more appropriate, but it's
created dynamically so doesn't have a fixed gid. I'll look into a better solution.