From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org)
	by finch.gentoo.org with esmtp (Exim 4.60)
	(envelope-from <gentoo-user+bounces-108700-garchives=archives.gentoo.org@lists.gentoo.org>)
	id 1NoxYr-0003Ec-2G
	for garchives@archives.gentoo.org; Tue, 09 Mar 2010 11:25:17 +0000
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id CA13BE0AC1;
	Tue,  9 Mar 2010 11:24:58 +0000 (UTC)
Received: from mail-bw0-f211.google.com (mail-bw0-f211.google.com [209.85.218.211])
	by pigeon.gentoo.org (Postfix) with ESMTP id 82979E0AC1
	for <gentoo-user@lists.gentoo.org>; Tue,  9 Mar 2010 11:24:58 +0000 (UTC)
Received: by bwz3 with SMTP id 3so718666bwz.29
        for <gentoo-user@lists.gentoo.org>; Tue, 09 Mar 2010 03:24:58 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=gamma;
        h=domainkey-signature:mime-version:received:in-reply-to:references
         :date:message-id:subject:from:to:content-type;
        bh=bXjnJpjhkXnzkSs5+iYg/WaIQl13yyR867rPT8WV1Zg=;
        b=RaEWM/IW6BYLslrbnFha6e6z6YD3hb/uSxWnZZws1Dzkpl+T05yT+yLZuTkdhCkzb5
         H4td47Mpuzr7GAjy8NqzoXjj7geAxwpNlonKwpLU9XkSppakBu5IVfmqn1yCvjLvBXuM
         c/zWpASAG1oSiJKyfmwAL393prk+cPFrJYIWs=
DomainKey-Signature: a=rsa-sha1; c=nofws;
        d=gmail.com; s=gamma;
        h=mime-version:in-reply-to:references:date:message-id:subject:from:to
         :content-type;
        b=fnWmPlOCVTU1KCtGas60yUh/2i9eZO3mIXbsadDxop+xwfnEUwhtz8B0g5BJJ0JtD9
         KptvOPQ8z4ZiQz8DzEJKgQa9bbPr+BqR7QcgCt/uS+oh99d/S+9l4+48hygGzpSIsN2O
         WjvDElqQpqTgZCjqtPAIAmRE7vuE7IIUzj9UQ=
Precedence: bulk
List-Post: <mailto:gentoo-user@lists.gentoo.org>
List-Help: <mailto:gentoo-user+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-user+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-user+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-user.gentoo.org>
X-BeenThere: gentoo-user@lists.gentoo.org
Reply-to: gentoo-user@lists.gentoo.org
MIME-Version: 1.0
Received: by 10.204.33.215 with SMTP id i23mr6850831bkd.86.1268133897919; Tue, 
	09 Mar 2010 03:24:57 -0800 (PST)
In-Reply-To: <53e35fd51003090314w250da861la064a57c73703160@mail.gmail.com>
References: <53e35fd51003090314w250da861la064a57c73703160@mail.gmail.com>
Date: Tue, 9 Mar 2010 11:24:57 +0000
Message-ID: <358eca8f1003090324t6ba279c6vb8035fd60017e4e7@mail.gmail.com>
Subject: Re: [gentoo-user] normal user do not have access to usb, and many 
	other things
From: Mick <michaelkintzios@gmail.com>
To: gentoo-user@lists.gentoo.org
Content-Type: text/plain; charset=ISO-8859-1
X-Archives-Salt: da1202f5-3f26-470c-9efc-3e9da28e0ece
X-Archives-Hash: 19bbe979cf75a402208b2918012dba8c

On 9 March 2010 11:14, Xi Shen <davidshen84@googlemail.com> 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 groups: disk,wheel,audio,video,usb,haldaemon,plugdev.
>
> now, i cannot get notification when i plug a new usb device. my
> battery gadget says battery information is not available.
>
> all there stuffs works fine if i log in with root account.

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 create their own
configuration files in their home directory - but I am not sure how
you have yours set up.

Either way, to login in X as root user is a *very* bad idea from a
security perspective.  Personally, I recommend to reinstall Gentoo
from scratch, instead of messing up with access permissions on config
files.  It would also teach you to follow the Gentoo handbook to the
letter (which asks you to set up a plain user account during the
installation).  ;-)
-- 
Regards,
Mick