Re: [gentoo-user] Permissions of files in /sys/

2009-01-17 Thread pk
Momesso Andrea wrote: > Hmmm... Having not recived any answers might mean that my suspects are > right and there is no way to create an udev rule for my scope. > > I think I will have to change those permissions manually at boot time You can make udev run a *sh script... man udev, locate RUN k

Re: [gentoo-user] Permissions of files in /sys/

2009-01-13 Thread Neil Bothwick
On Tue, 13 Jan 2009 12:11:20 +0100, Volker Armin Hemmann wrote: > > > great, sending a mail to a public ml that nobody can read. ... > > That's not quite true, I could read it :P > as I said... :P Miaow! ;-) -- Neil Bothwick If Bill Gates had a dime for every time a Windows box crashe

Re: [gentoo-user] Permissions of files in /sys/

2009-01-13 Thread Momesso Andrea
On Tue, Jan 13, 2009 at 06:17:32AM -0200, Francisco Ares wrote: > ? > > On Tue, Jan 13, 2009 at 4:19 AM, Andrea Momesso > wrote: > > -BEGIN PGP MESSAGE- > > Version: GnuPG v2.0.9 (GNU/Linux) > > Comment: http://getfiregpg.org > > > > owFFU81r1EAUT1stGhFa8CQUHj34gWmy2a3IRim2guxWWynspSedJG8

Re: [gentoo-user] Permissions of files in /sys/

2009-01-13 Thread Volker Armin Hemmann
On Dienstag 13 Januar 2009, Neil Bothwick wrote: > On Tue, 13 Jan 2009 11:53:17 +0100, Volker Armin Hemmann wrote: > > great, sending a mail to a public ml that nobody can read. ... > > That's not quite true, I could read it :P as I said... :P

Re: [gentoo-user] Permissions of files in /sys/

2009-01-13 Thread Momesso Andrea
On Mon, Jan 12, 2009 at 11:54:01PM +, Neil Bothwick wrote: > On Mon, 12 Jan 2009 19:13:32 +0100, Momesso Andrea wrote: > > > Hmmm... Having not recived any answers might mean that my suspects are > > right and there is no way to create an udev rule for my scope. > > udev rules create and name

Re: [gentoo-user] Permissions of files in /sys/

2009-01-13 Thread Neil Bothwick
On Tue, 13 Jan 2009 11:53:17 +0100, Volker Armin Hemmann wrote: > great, sending a mail to a public ml that nobody can read. ... That's not quite true, I could read it :P -- Neil Bothwick Philosophical error: Demonstrate the existence of a key to continue signature.asc Description: PGP sign

Re: [gentoo-user] Permissions of files in /sys/

2009-01-13 Thread Volker Armin Hemmann
On Dienstag 13 Januar 2009, Andrea Momesso wrote: > -BEGIN PGP MESSAGE- > Version: GnuPG v2.0.9 (GNU/Linux) > Comment: http://getfiregpg.org > > owFFU81r1EAUT1stGhFa8CQUHj34gWmy2a3IRim2guxWWynspSedJG83Y+cjZCYb > c/MieFDwKD0oeLXgzaN4F09F8OpN8eR/4EtsLSQE5v3e74vJq/Nzzuzi9u+lcz++ > f1ye+fIrdoai

Re: [gentoo-user] Permissions of files in /sys/

2009-01-13 Thread Francisco Ares
? On Tue, Jan 13, 2009 at 4:19 AM, Andrea Momesso wrote: > -BEGIN PGP MESSAGE- > Version: GnuPG v2.0.9 (GNU/Linux) > Comment: http://getfiregpg.org > > owFFU81r1EAUT1stGhFa8CQUHj34gWmy2a3IRim2guxWWynspSedJG83Y+cjZCYb > c/MieFDwKD0oeLXgzaN4F09F8OpN8eR/4EtsLSQE5v3e74vJq/Nzzuzi9u+lcz++ > f1y

Re: [gentoo-user] Permissions of files in /sys/

2009-01-12 Thread Andrea Momesso
-BEGIN PGP MESSAGE- Version: GnuPG v2.0.9 (GNU/Linux) Comment: http://getfiregpg.org owFFU81r1EAUT1stGhFa8CQUHj34gWmy2a3IRim2guxWWynspSedJG83Y+cjZCYb c/MieFDwKD0oeLXgzaN4F09F8OpN8eR/4EtsLSQE5v3e74vJq/Nzzuzi9u+lcz++ f1ye+fIrdoaiO+O6DxSMSvRgkykIex50O50+MAthN7q+CutbHmwjF7ChbVbxZA+g KrTFyF0D2t

Re: [gentoo-user] Permissions of files in /sys/

2009-01-12 Thread Neil Bothwick
On Mon, 12 Jan 2009 19:13:32 +0100, Momesso Andrea wrote: > Hmmm... Having not recived any answers might mean that my suspects are > right and there is no way to create an udev rule for my scope. udev rules create and name files in /dev. They use information from /sys but don't write there. > I

Re: [gentoo-user] Permissions of files in /sys/

2009-01-12 Thread Momesso Andrea
On Fri, Jan 09, 2009 at 05:28:40PM +0100, Andrea Momesso wrote: > On Wed, Jan 7, 2009 at 9:47 PM, Paul Hartman > wrote: > > On Wed, Jan 7, 2009 at 8:29 AM, Momesso Andrea > > wrote: > >> I'd like to make the file /sys/class/backlight/asus-laptop/brightness > >> writeable for users, so that I don

Re: [gentoo-user] Permissions of files in /sys/

2009-01-09 Thread Andrea Momesso
On Wed, Jan 7, 2009 at 9:47 PM, Paul Hartman wrote: > On Wed, Jan 7, 2009 at 8:29 AM, 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 ca

Re: [gentoo-user] Permissions of files in /sys/

2009-01-07 Thread Paul Hartman
On Wed, Jan 7, 2009 at 8:29 AM, 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

Re: [gentoo-user] Permissions of files in /sys/

2009-01-07 Thread Dale
Alan McKinnon wrote: > On Wednesday 07 January 2009 19:43:54 Dale wrote: > > >> 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 >> crea

Re: [gentoo-user] Permissions of files in /sys/

2009-01-07 Thread Alan McKinnon
On Wednesday 07 January 2009 19:43:54 Dale wrote: > 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 wa

Re: [gentoo-user] Permissions of files in /sys/

2009-01-07 Thread Dale
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 the

[gentoo-user] Permissions of files in /sys/

2009-01-07 Thread Momesso Andrea
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 pe