Momesso Andrea wrote:
> I'd like to make the file /sys/class/backlight/asus-laptop/brightness
> writeable for users, so that I don't need to be root anymore to change
> the brightness.
>
> Of course I can chown or chmod ot in local.start but I'm asking if there
> is a cleaner way.
>
> Also, are there any security risks on changing permissions on /sys
> files?
>
>
> TopperH
>
> ===========================
> Momesso Andrea
> http://topperh.blogspot.com
> ===========================
>   

I have never did this but since /sys is populated during bootup,
anything you change by hand will not survive a reboot.  I would think
you would have to find out what creates the file and then get it to
create it with the permissions you want.  I'm not sure but could udev be
doing this? 

I'm not sure about the security concerns but I do see why having a user
being able to adjust the brightness would be a good idea.  I wonder why
it is set up the way it is? 

Dale

:-)  :-)



Reply via email to