Re: [gentoo-user] normal user do not have access to usb, and many other things

2010-03-10 Thread Paul Hartman
On Wed, Mar 10, 2010 at 5:28 AM, Xi Shen wrote: > now i have a damn wired good news. all the problems i talked about are > gone. :) i can access my usb disk, i can see the battery info. Congratulations :) This reminds me to attempt to solve why my laptop has no battery info. I think I need to cr

Re: [gentoo-user] normal user do not have access to usb, and many other things

2010-03-10 Thread Xi Shen
On Wed, Mar 10, 2010 at 7:40 PM, Neil Bothwick wrote: > On Wed, 10 Mar 2010 19:28:26 +0800, Xi Shen wrote: >> i think this is just a group and permission issue. > > Logging out of and back into X should be enough for any group changes to > take effect. I wonder if it could have been a module load

Re: [gentoo-user] normal user do not have access to usb, and many other things

2010-03-10 Thread Neil Bothwick
On Wed, 10 Mar 2010 19:28:26 +0800, Xi Shen wrote: > yesterday, after i have joined those groups, i did not restart my > system. i just exit X, and log off, then log on, and i did not able to > access those resources. but today, after a cold start up, all the > problems are fixed without touching

Re: [gentoo-user] normal user do not have access to usb, and many other things

2010-03-10 Thread Xi Shen
On Wed, Mar 10, 2010 at 5:05 PM, Willie Wong wrote: > I am rather curious what application you are using to get battery > information that requires it being root. > > /proc/acpi/battery/BAT0/state is 0444 on my netbook/laptop since > forever. I just use a bash function to parse it and display it o

Re: [gentoo-user] normal user do not have access to usb, and many other things

2010-03-10 Thread Willie Wong
On Wed, Mar 10, 2010 at 09:21:06AM +0800, Xi Shen wrote: > i kanda thought about that for the usb stuff. but i have not resolve > it. may be i also need the pmout package to allow me to mount the usb > disk? > > the big problem now is the battery information. i really have no idea > where to look

Re: [gentoo-user] normal user do not have access to usb, and many other things

2010-03-09 Thread Xi Shen
On Wed, Mar 10, 2010 at 12:41 AM, Paul Hartman wrote: > Depending on your specific USB device you may need to edit UDEV rules > to set proper permissions on the device node. For example I had to do > that for normal users to read my digital camera. > > i kanda thought about that for the usb stuff

Re: [gentoo-user] normal user do not have access to usb, and many other things

2010-03-09 Thread Paul Hartman
On Tue, Mar 9, 2010 at 5:14 AM, Xi Shen wrote: > hi, > > i usually use my linux system with root account. i think it is not > good, so i created a normal user account for myself. but i found that > i cannot access many system resources, like usb disk, battery > informatiion, etc. > > i am already

Re: [gentoo-user] normal user do not have access to usb, and many other things

2010-03-09 Thread Xi Shen
On Tue, Mar 9, 2010 at 8:48 PM, Mick wrote: > Yes, that's how it *should* work, but it evidently isn't.  Maybe > someone else more experienced in KDE can explain what happened and why > the particular functions are now not available to plain users, or if > you have another machine which has been r

Re: [gentoo-user] normal user do not have access to usb, and many other things

2010-03-09 Thread Xi Shen
On Tue, Mar 9, 2010 at 7:24 PM, Mick wrote: > > You only have yourself to blame I'm afraid ... > > When you login to xorg using a root account some configuration files > become owned by root.  A normal user can no longer access them.  Most > desktops should be clever enough to allow users to creat

Re: [gentoo-user] normal user do not have access to usb, and many other things

2010-03-09 Thread Mick
On 9 March 2010 12:31, Xi Shen wrote: > On Tue, Mar 9, 2010 at 7:24 PM, Mick wrote: >> When you login to xorg using a root account some configuration files >> become owned by root.  A normal user can no longer access them.  Most >> desktops should be clever enough to allow users to create their

Re: [gentoo-user] normal user do not have access to usb, and many other things

2010-03-09 Thread Mick
On 9 March 2010 11:14, Xi Shen wrote: > hi, > > i usually use my linux system with root account. i think it is not > good, so i created a normal user account for myself. but i found that > i cannot access many system resources, like usb disk, battery > informatiion, etc. > > i am already in these

[gentoo-user] normal user do not have access to usb, and many other things

2010-03-09 Thread Xi Shen
hi, i usually use my linux system with root account. i think it is not good, so i created a normal user account for myself. but i found that i cannot access many system resources, like usb disk, battery informatiion, etc. i am already in these groups: disk,wheel,audio,video,usb,haldaemon,plugdev.