* [gentoo-user] Permissions of files in /sys/ @ 2009-01-07 14:29 Momesso Andrea 2009-01-07 17:43 ` Dale 2009-01-07 20:47 ` Paul Hartman 0 siblings, 2 replies; 17+ messages in thread From: Momesso Andrea @ 2009-01-07 14:29 UTC (permalink / raw To: gentoo-user [-- Attachment #1: Type: text/plain, Size: 434 bytes --] 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 =========================== [-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --] ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [gentoo-user] Permissions of files in /sys/ 2009-01-07 14:29 [gentoo-user] Permissions of files in /sys/ Momesso Andrea @ 2009-01-07 17:43 ` Dale 2009-01-07 17:49 ` Alan McKinnon 2009-01-07 20:47 ` Paul Hartman 1 sibling, 1 reply; 17+ messages in thread From: Dale @ 2009-01-07 17:43 UTC (permalink / raw To: gentoo-user 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 :-) :-) ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [gentoo-user] Permissions of files in /sys/ 2009-01-07 17:43 ` Dale @ 2009-01-07 17:49 ` Alan McKinnon 2009-01-07 20:36 ` Dale 0 siblings, 1 reply; 17+ messages in thread From: Alan McKinnon @ 2009-01-07 17:49 UTC (permalink / raw To: gentoo-user 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 want. I'm not sure but could udev be > doing this? Yes. -- alan dot mckinnon at gmail dot com ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [gentoo-user] Permissions of files in /sys/ 2009-01-07 17:49 ` Alan McKinnon @ 2009-01-07 20:36 ` Dale 0 siblings, 0 replies; 17+ messages in thread From: Dale @ 2009-01-07 20:36 UTC (permalink / raw To: gentoo-user 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 >> create it with the permissions you want. I'm not sure but could udev be >> doing this? >> > > > Yes. > > > So sounds like he should find and edit the udev rule or make his own rule and set the permissions like he wants. Also, could he change just this one file in /sys and not have security concerns? Whenever the OP comes back, he's got some catching up to do. LOL Dale :-) :-) ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [gentoo-user] Permissions of files in /sys/ 2009-01-07 14:29 [gentoo-user] Permissions of files in /sys/ Momesso Andrea 2009-01-07 17:43 ` Dale @ 2009-01-07 20:47 ` Paul Hartman 2009-01-09 16:28 ` Andrea Momesso 1 sibling, 1 reply; 17+ messages in thread From: Paul Hartman @ 2009-01-07 20:47 UTC (permalink / raw To: gentoo-user On Wed, Jan 7, 2009 at 8:29 AM, Momesso Andrea <momesso.andrea@gmail.com> 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. I guess you need to use udevinfo to get the important information about /sys/class/backlight/asus-laptop/brightness and then write up a rule, slap it into a file in /etc/udev/rules.d/ and enjoy your new permissions. :) I don't have that device on my system so I can't really suggest anything more specific. Here's a udev rules HOWTO that might help: http://www.reactivated.net/writing_udev_rules.html (specifically "Controlling permissions and ownership") Good luck :) Paul ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [gentoo-user] Permissions of files in /sys/ 2009-01-07 20:47 ` Paul Hartman @ 2009-01-09 16:28 ` Andrea Momesso 2009-01-12 18:13 ` Momesso Andrea 0 siblings, 1 reply; 17+ messages in thread From: Andrea Momesso @ 2009-01-09 16:28 UTC (permalink / raw To: gentoo-user On Wed, Jan 7, 2009 at 9:47 PM, Paul Hartman <paul.hartman+gentoo@gmail.com> wrote: > On Wed, Jan 7, 2009 at 8:29 AM, Momesso Andrea <momesso.andrea@gmail.com> 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. > > I guess you need to use udevinfo to get the important information > about /sys/class/backlight/asus-laptop/brightness and then write up a > rule, slap it into a file in /etc/udev/rules.d/ and enjoy your new > permissions. :) I don't have that device on my system so I can't > really suggest anything more specific. > > Here's a udev rules HOWTO that might help: > > http://www.reactivated.net/writing_udev_rules.html > > (specifically "Controlling permissions and ownership") > > Good luck :) > Paul > > It looks like I cannot simply write a rule to change that permission... After experiencing some failures I guess that udev rules can change permissions on /dev/ files, but not on /sys/ files... This is my case: # udevadm info -a -p /sys/class/backlight/asus-laptop/ looking at device '/class/backlight/asus-laptop': KERNEL=="asus-laptop" SUBSYSTEM=="backlight" DRIVER=="" ATTR{bl_power}=="0" ATTR{brightness}=="5" ATTR{actual_brightness}=="5" ATTR{max_brightness}=="15" And this is the rule I added in /etc/udev/rules.d/10-local.rules KERNEL=="asus-laptop", SUBSYSTEM=="backlight", GROUP="video", MODE="0660" After a reboot I still get this: # ls -la /sys/class/backlight/asus-laptop total 0 drwxr-xr-x 3 root root 0 2009-01-09 15:18 . drwxr-xr-x 3 root root 0 2009-01-09 15:18 .. -r--r--r-- 1 root root 4096 2009-01-09 15:18 actual_brightness -rw-r--r-- 1 root root 4096 2009-01-09 15:19 bl_power -rw-r--r-- 1 root root 4096 2009-01-09 17:02 brightness -r--r--r-- 1 root root 4096 2009-01-09 15:18 max_brightness drwxr-xr-x 2 root root 0 2009-01-09 15:19 power lrwxrwxrwx 1 root root 0 2009-01-09 15:18 subsystem -> ../../backlight -rw-r--r-- 1 root root 4096 2009-01-09 15:18 uevent Googling a bit I found some solutions [1] [2], but all of them are changing the permissions at every boot. It works, but it looks to me a bit unclean... [1] http://wiki.laptop.org/go/Xfce_keybindings#Adjust_screen_brightness_buttons [2] http://www.thinkwiki.org/wiki/Automatically_reduce_brightness -- Momesso (TopperH) Andrea http://topperh.blogspot.com Jabber: topper_harley@jabber.org ICQ: 224179391 ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [gentoo-user] Permissions of files in /sys/ 2009-01-09 16:28 ` Andrea Momesso @ 2009-01-12 18:13 ` Momesso Andrea 2009-01-12 23:54 ` Neil Bothwick 2009-01-17 14:30 ` pk 0 siblings, 2 replies; 17+ messages in thread From: Momesso Andrea @ 2009-01-12 18:13 UTC (permalink / raw To: gentoo-user [-- Attachment #1: Type: text/plain, Size: 3095 bytes --] On Fri, Jan 09, 2009 at 05:28:40PM +0100, Andrea Momesso wrote: > On Wed, Jan 7, 2009 at 9:47 PM, Paul Hartman > <paul.hartman+gentoo@gmail.com> wrote: > > On Wed, Jan 7, 2009 at 8:29 AM, Momesso Andrea <momesso.andrea@gmail.com> 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. > > > > I guess you need to use udevinfo to get the important information > > about /sys/class/backlight/asus-laptop/brightness and then write up a > > rule, slap it into a file in /etc/udev/rules.d/ and enjoy your new > > permissions. :) I don't have that device on my system so I can't > > really suggest anything more specific. > > > > Here's a udev rules HOWTO that might help: > > > > http://www.reactivated.net/writing_udev_rules.html > > > > (specifically "Controlling permissions and ownership") > > > > Good luck :) > > Paul > > > > > > It looks like I cannot simply write a rule to change that permission... > After experiencing some failures I guess that udev rules can change > permissions on /dev/ files, but not on /sys/ files... > > This is my case: > > # udevadm info -a -p /sys/class/backlight/asus-laptop/ > > looking at device '/class/backlight/asus-laptop': > KERNEL=="asus-laptop" > SUBSYSTEM=="backlight" > DRIVER=="" > ATTR{bl_power}=="0" > ATTR{brightness}=="5" > ATTR{actual_brightness}=="5" > ATTR{max_brightness}=="15" > > And this is the rule I added in /etc/udev/rules.d/10-local.rules > > KERNEL=="asus-laptop", SUBSYSTEM=="backlight", GROUP="video", MODE="0660" > > After a reboot I still get this: > > # ls -la /sys/class/backlight/asus-laptop > total 0 > drwxr-xr-x 3 root root 0 2009-01-09 15:18 . > drwxr-xr-x 3 root root 0 2009-01-09 15:18 .. > -r--r--r-- 1 root root 4096 2009-01-09 15:18 actual_brightness > -rw-r--r-- 1 root root 4096 2009-01-09 15:19 bl_power > -rw-r--r-- 1 root root 4096 2009-01-09 17:02 brightness > -r--r--r-- 1 root root 4096 2009-01-09 15:18 max_brightness > drwxr-xr-x 2 root root 0 2009-01-09 15:19 power > lrwxrwxrwx 1 root root 0 2009-01-09 15:18 subsystem -> ../../backlight > -rw-r--r-- 1 root root 4096 2009-01-09 15:18 uevent > > Googling a bit I found some solutions [1] [2], but all of them are > changing the permissions at every > boot. It works, but it looks to me a bit unclean... > [1] http://wiki.laptop.org/go/Xfce_keybindings#Adjust_screen_brightness_buttons > [2] http://www.thinkwiki.org/wiki/Automatically_reduce_brightness > 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 Thanks anyway for help -- Momesso (TopperH) Andrea http://topperh.blogspot.com Jabber: topper_harley@jabber.org ICQ: 224179391 [-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --] ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [gentoo-user] Permissions of files in /sys/ 2009-01-12 18:13 ` Momesso Andrea @ 2009-01-12 23:54 ` Neil Bothwick 2009-01-13 6:19 ` Andrea Momesso 2009-01-13 11:05 ` Momesso Andrea 2009-01-17 14:30 ` pk 1 sibling, 2 replies; 17+ messages in thread From: Neil Bothwick @ 2009-01-12 23:54 UTC (permalink / raw To: gentoo-user [-- Attachment #1: Type: text/plain, Size: 615 bytes --] 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 think I will have to change those permissions manually at boot time You may be able t achieve this with a HAL policy rule, but a chown/chmod in /etc/conf.d/local is less hassle to implement. -- Neil Bothwick It may be that your sole purpose in life is simply to serve as a warning to others. [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 197 bytes --] ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [gentoo-user] Permissions of files in /sys/ 2009-01-12 23:54 ` Neil Bothwick @ 2009-01-13 6:19 ` Andrea Momesso 2009-01-13 8:17 ` Francisco Ares 2009-01-13 10:53 ` Volker Armin Hemmann 2009-01-13 11:05 ` Momesso Andrea 1 sibling, 2 replies; 17+ messages in thread From: Andrea Momesso @ 2009-01-13 6:19 UTC (permalink / raw To: gentoo-user -----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 KrTFyF0D2tzSyiNku9wuhv0o7EW9LlzrhJ2ORwCJxmhYV2mB7P+uu7YGAyml7/sw YFOuJqC0hQITPsUUmKrpNRUWBiSfZBYkkoLNyJeswZQmx8QaYAU2TEULYSolBBYI 3BAbVKwGqyEhXYs0hTLFKRSlQBjrouVJdI5+4+ZkZk4WUlBMEpg3p1xBQBgfRhnW UBpSUUQjmeVawbjQEgJTG6KKSwupVpctpeVE1HryXXeUkS968AlLrKihatIMQSGm FJmc7ildEa4tZ0hrXO3Rt+JCQMam2IbJmJo0lJoM5FhIbgzpU0tMlUwQK3HGmqq0 XGKbbFeXNK0hpkgxZaeikozj9LPf8JCfitsMGAzW70OuBU/qtgevzcFIUVcqSDKp UyJrWkCbBIlWYz8NhE6YaDJRQ4ZMGiNam1zmAiUq25S7i8Y7zjHRR5qspqTuygq4 xzfkykjnlGhw9eiuuJm1eRQEtj3O/Fjoicm19RMt3U0Wx1hE8G/4MGOFwPr24/bU 18XEHd7ZiaDbXQ1v9Hv9EEjr+d1TzuKsM396trn3jnt24fhneOE4by69vPXzwtvl D48Gh38u8tdf77lPbzr7c4cbBwfvtr7xMwvB/vtPO0vzz3p/AQ== =PgWp -----END PGP MESSAGE----- ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [gentoo-user] Permissions of files in /sys/ 2009-01-13 6:19 ` Andrea Momesso @ 2009-01-13 8:17 ` Francisco Ares 2009-01-13 11:09 ` Momesso Andrea 2009-01-13 10:53 ` Volker Armin Hemmann 1 sibling, 1 reply; 17+ messages in thread From: Francisco Ares @ 2009-01-13 8:17 UTC (permalink / raw To: gentoo-user ? On Tue, Jan 13, 2009 at 4:19 AM, Andrea Momesso <momesso.andrea@gmail.com> wrote: > -----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 > KrTFyF0D2tzSyiNku9wuhv0o7EW9LlzrhJ2ORwCJxmhYV2mB7P+uu7YGAyml7/sw > YFOuJqC0hQITPsUUmKrpNRUWBiSfZBYkkoLNyJeswZQmx8QaYAU2TEULYSolBBYI > 3BAbVKwGqyEhXYs0hTLFKRSlQBjrouVJdI5+4+ZkZk4WUlBMEpg3p1xBQBgfRhnW > UBpSUUQjmeVawbjQEgJTG6KKSwupVpctpeVE1HryXXeUkS968AlLrKihatIMQSGm > FJmc7ildEa4tZ0hrXO3Rt+JCQMam2IbJmJo0lJoM5FhIbgzpU0tMlUwQK3HGmqq0 > XGKbbFeXNK0hpkgxZaeikozj9LPf8JCfitsMGAzW70OuBU/qtgevzcFIUVcqSDKp > UyJrWkCbBIlWYz8NhE6YaDJRQ4ZMGiNam1zmAiUq25S7i8Y7zjHRR5qspqTuygq4 > xzfkykjnlGhw9eiuuJm1eRQEtj3O/Fjoicm19RMt3U0Wx1hE8G/4MGOFwPr24/bU > 18XEHd7ZiaDbXQ1v9Hv9EEjr+d1TzuKsM396trn3jnt24fhneOE4by69vPXzwtvl > D48Gh38u8tdf77lPbzr7c4cbBwfvtr7xMwvB/vtPO0vzz3p/AQ== > =PgWp > -----END PGP MESSAGE----- > > ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [gentoo-user] Permissions of files in /sys/ 2009-01-13 8:17 ` Francisco Ares @ 2009-01-13 11:09 ` Momesso Andrea 0 siblings, 0 replies; 17+ messages in thread From: Momesso Andrea @ 2009-01-13 11:09 UTC (permalink / raw To: gentoo-user [-- Attachment #1: Type: text/plain, Size: 1455 bytes --] On Tue, Jan 13, 2009 at 06:17:32AM -0200, Francisco Ares wrote: > ? > > On Tue, Jan 13, 2009 at 4:19 AM, Andrea Momesso > <momesso.andrea@gmail.com> wrote: > > -----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 > > KrTFyF0D2tzSyiNku9wuhv0o7EW9LlzrhJ2ORwCJxmhYV2mB7P+uu7YGAyml7/sw > > YFOuJqC0hQITPsUUmKrpNRUWBiSfZBYkkoLNyJeswZQmx8QaYAU2TEULYSolBBYI > > 3BAbVKwGqyEhXYs0hTLFKRSlQBjrouVJdI5+4+ZkZk4WUlBMEpg3p1xBQBgfRhnW > > UBpSUUQjmeVawbjQEgJTG6KKSwupVpctpeVE1HryXXeUkS968AlLrKihatIMQSGm > > FJmc7ildEa4tZ0hrXO3Rt+JCQMam2IbJmJo0lJoM5FhIbgzpU0tMlUwQK3HGmqq0 > > XGKbbFeXNK0hpkgxZaeikozj9LPf8JCfitsMGAzW70OuBU/qtgevzcFIUVcqSDKp > > UyJrWkCbBIlWYz8NhE6YaDJRQ4ZMGiNam1zmAiUq25S7i8Y7zjHRR5qspqTuygq4 > > xzfkykjnlGhw9eiuuJm1eRQEtj3O/Fjoicm19RMt3U0Wx1hE8G/4MGOFwPr24/bU > > 18XEHd7ZiaDbXQ1v9Hv9EEjr+d1TzuKsM396trn3jnt24fhneOE4by69vPXzwtvl > > D48Gh38u8tdf77lPbzr7c4cbBwfvtr7xMwvB/vtPO0vzz3p/AQ== > > =PgWp > > -----END PGP MESSAGE----- > > > > Sorry about that... I'm so used to mail with mutt that when it's not available I make terrible mistakes... TopperH =========================== Momesso Andrea http://topperh.blogspot.com =========================== [-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --] ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [gentoo-user] Permissions of files in /sys/ 2009-01-13 6:19 ` Andrea Momesso 2009-01-13 8:17 ` Francisco Ares @ 2009-01-13 10:53 ` Volker Armin Hemmann 2009-01-13 10:59 ` Neil Bothwick 1 sibling, 1 reply; 17+ messages in thread From: Volker Armin Hemmann @ 2009-01-13 10:53 UTC (permalink / raw To: gentoo-user 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+fIrdoaiO+O6DxSMSvRgkykIex50O50+MAthN7q+CutbHmwjF7ChbVbxZA+g > KrTFyF0D2tzSyiNku9wuhv0o7EW9LlzrhJ2ORwCJxmhYV2mB7P+uu7YGAyml7/sw > YFOuJqC0hQITPsUUmKrpNRUWBiSfZBYkkoLNyJeswZQmx8QaYAU2TEULYSolBBYI > 3BAbVKwGqyEhXYs0hTLFKRSlQBjrouVJdI5+4+ZkZk4WUlBMEpg3p1xBQBgfRhnW > UBpSUUQjmeVawbjQEgJTG6KKSwupVpctpeVE1HryXXeUkS968AlLrKihatIMQSGm > FJmc7ildEa4tZ0hrXO3Rt+JCQMam2IbJmJo0lJoM5FhIbgzpU0tMlUwQK3HGmqq0 > XGKbbFeXNK0hpkgxZaeikozj9LPf8JCfitsMGAzW70OuBU/qtgevzcFIUVcqSDKp > UyJrWkCbBIlWYz8NhE6YaDJRQ4ZMGiNam1zmAiUq25S7i8Y7zjHRR5qspqTuygq4 > xzfkykjnlGhw9eiuuJm1eRQEtj3O/Fjoicm19RMt3U0Wx1hE8G/4MGOFwPr24/bU > 18XEHd7ZiaDbXQ1v9Hv9EEjr+d1TzuKsM396trn3jnt24fhneOE4by69vPXzwtvl > D48Gh38u8tdf77lPbzr7c4cbBwfvtr7xMwvB/vtPO0vzz3p/AQ== > =PgWp > -----END PGP MESSAGE----- great, sending a mail to a public ml that nobody can read. ... ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [gentoo-user] Permissions of files in /sys/ 2009-01-13 10:53 ` Volker Armin Hemmann @ 2009-01-13 10:59 ` Neil Bothwick 2009-01-13 11:11 ` Volker Armin Hemmann 0 siblings, 1 reply; 17+ messages in thread From: Neil Bothwick @ 2009-01-13 10:59 UTC (permalink / raw To: gentoo-user [-- Attachment #1: Type: text/plain, Size: 273 bytes --] 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 [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 197 bytes --] ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [gentoo-user] Permissions of files in /sys/ 2009-01-13 10:59 ` Neil Bothwick @ 2009-01-13 11:11 ` Volker Armin Hemmann 2009-01-13 11:56 ` Neil Bothwick 0 siblings, 1 reply; 17+ messages in thread From: Volker Armin Hemmann @ 2009-01-13 11:11 UTC (permalink / raw To: gentoo-user 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 ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [gentoo-user] Permissions of files in /sys/ 2009-01-13 11:11 ` Volker Armin Hemmann @ 2009-01-13 11:56 ` Neil Bothwick 0 siblings, 0 replies; 17+ messages in thread From: Neil Bothwick @ 2009-01-13 11:56 UTC (permalink / raw To: gentoo-user [-- Attachment #1: Type: text/plain, Size: 362 bytes --] 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 crashed... ...Oh, wait a minute, he already does. [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 197 bytes --] ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [gentoo-user] Permissions of files in /sys/ 2009-01-12 23:54 ` Neil Bothwick 2009-01-13 6:19 ` Andrea Momesso @ 2009-01-13 11:05 ` Momesso Andrea 1 sibling, 0 replies; 17+ messages in thread From: Momesso Andrea @ 2009-01-13 11:05 UTC (permalink / raw To: gentoo-user [-- Attachment #1: Type: text/plain, Size: 779 bytes --] On Mon, Jan 12, 2009 at 11:54:01PM +0000, 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 files in /dev. They use information from /sys > but don't write there. This is exactly what I needed to know. > > > I think I will have to change those permissions manually at boot time > > You may be able t achieve this with a HAL policy rule, but a chown/chmod > in /etc/conf.d/local is less hassle to implement. Yes, I will go this way. TopperH =========================== Momesso Andrea http://topperh.blogspot.com =========================== [-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --] ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [gentoo-user] Permissions of files in /sys/ 2009-01-12 18:13 ` Momesso Andrea 2009-01-12 23:54 ` Neil Bothwick @ 2009-01-17 14:30 ` pk 1 sibling, 0 replies; 17+ messages in thread From: pk @ 2009-01-17 14:30 UTC (permalink / raw To: gentoo-user Momesso Andrea wrote: <snip> > 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 keyword. Best regards Peter K ^ permalink raw reply [flat|nested] 17+ messages in thread
end of thread, other threads:[~2009-01-17 14:30 UTC | newest] Thread overview: 17+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2009-01-07 14:29 [gentoo-user] Permissions of files in /sys/ Momesso Andrea 2009-01-07 17:43 ` Dale 2009-01-07 17:49 ` Alan McKinnon 2009-01-07 20:36 ` Dale 2009-01-07 20:47 ` Paul Hartman 2009-01-09 16:28 ` Andrea Momesso 2009-01-12 18:13 ` Momesso Andrea 2009-01-12 23:54 ` Neil Bothwick 2009-01-13 6:19 ` Andrea Momesso 2009-01-13 8:17 ` Francisco Ares 2009-01-13 11:09 ` Momesso Andrea 2009-01-13 10:53 ` Volker Armin Hemmann 2009-01-13 10:59 ` Neil Bothwick 2009-01-13 11:11 ` Volker Armin Hemmann 2009-01-13 11:56 ` Neil Bothwick 2009-01-13 11:05 ` Momesso Andrea 2009-01-17 14:30 ` pk
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox