Add options to the asus_acpi module

Bug #17100 reported by Vincent Untz
4
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.d/asus_acpi.modprobe file
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.

Revision history for this message
Matthew Garrett (mjg59) wrote :

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.

Revision history for this message
Nicolò Chieffo (yelo3) wrote :

Created an attachment (id=3781)
properly power4gear functions

Revision history for this message
Nicolò Chieffo (yelo3) wrote :

I'm sorry! I don't know why but the attachment went here instead of in the
correct place! (bug 17063) maybe it's a bug :) please remove it

Revision history for this message
Matthew Garrett (mjg59) wrote :

In Breezy now

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.