Re: GNOME 2.6 and /dev/pmu

2004-04-22 Thread Brad Boyer
On Wed, Apr 21, 2004 at 10:36:47PM +1000, Benjamin Herrenschmidt wrote: World writeable /dev/pmu isn't that bad. sleep is controlled by CAP_SYS_ADMIN anyway, so you can only listen to PMU events and control the backlight. So the worst thing a malign user can do is switch your backlight off ...

Re: GNOME 2.6 and /dev/pmu

2004-04-21 Thread Benjamin Herrenschmidt
Assuming /dev/pmu is user writable by default is clearly incorrect. gnome-settings-daemon should run suid root, or fix /dev/pmu permissions at install time. Or use fblevel (suid root) to manipulate backlight. IMHO world writeable /dev/pmu constitutes too high a risk to consider the second

Re: GNOME 2.6 and /dev/pmu

2004-04-20 Thread Lucas Moulin
Le Mon, Apr 19, 2004 at 11:06:58PM +0200, Michel Dänzer a écrit : On Mon, 2004-04-19 at 14:31, Lucas Moulin wrote: Le Mon, Apr 19, 2004 at 12:24:11AM +0200, Michel Dänzer a écrit : So you're getting this message too ? No, my user account has permission to access /dev/pmu. How did you

Re: GNOME 2.6 and /dev/pmu

2004-04-19 Thread Michael Schmitz
that everytime I log in GNOME, I get a dialog box saying : permissions on /dev/pmu are broken. Permissions are set as follows : $ ls -l /dev/pmu crw---1 root root 10, 154 2004-04-14 16:48 /dev/pmu I'm using GNOME up-to-date, kernel 2.4.25-ben1, gdm to log, and

Re: GNOME 2.6 and /dev/pmu

2004-04-19 Thread Lucas Moulin
Le Mon, Apr 19, 2004 at 12:24:11AM +0200, Michel Dänzer a écrit : So you're getting this message too ? No, my user account has permission to access /dev/pmu. How did you do that ? Added your user to some group or modified the permissions ? Is there any way to tell acme code to not show the

Re: GNOME 2.6 and /dev/pmu

2004-04-19 Thread Michel Dänzer
On Mon, 2004-04-19 at 14:31, Lucas Moulin wrote: Le Mon, Apr 19, 2004 at 12:24:11AM +0200, Michel Dnzer a crit : So you're getting this message too ? No, my user account has permission to access /dev/pmu. How did you do that ? Added your user to some group or modified the permissions ?

Re: GNOME 2.6 and /dev/pmu

2004-04-18 Thread Michel Dänzer
On Sun, 2004-04-18 at 03:43, Lucas Moulin wrote: I'm writing to this list since I know some of you are already using GNOME 2.6 from experimental on your PPC machines. Yep, and building and uploading them as they come along. :) Well, I made the upgrade today, and everything's working fine,

Re: GNOME 2.6 and /dev/pmu

2004-04-18 Thread Lucas Moulin
Le Sun, Apr 18, 2004 at 01:47:57PM +0200, Michel Dänzer a écrit : On Sun, 2004-04-18 at 03:43, Lucas Moulin wrote: I'm writing to this list since I know some of you are already using GNOME 2.6 from experimental on your PPC machines. Yep, and building and uploading them as they come along. :)

Re: GNOME 2.6 and /dev/pmu

2004-04-18 Thread Michel Dänzer
On Sun, 2004-04-18 at 14:13, Lucas Moulin wrote: Le Sun, Apr 18, 2004 at 01:47:57PM +0200, Michel Dnzer a crit : On Sun, 2004-04-18 at 03:43, Lucas Moulin wrote: Well, I made the upgrade today, and everything's working fine, except that everytime I log in GNOME, I get a dialog box saying

GNOME 2.6 and /dev/pmu

2004-04-17 Thread Lucas Moulin
Hi all, I'm writing to this list since I know some of you are already using GNOME 2.6 from experimental on your PPC machines. Well, I made the upgrade today, and everything's working fine, except that everytime I log in GNOME, I get a dialog box saying : permissions on /dev/pmu are broken.