From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1GG2wb-0001Oz-0r for garchives@archives.gentoo.org; Thu, 24 Aug 2006 00:19:37 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.7/8.13.6) with SMTP id k7O0Ixvc012877; Thu, 24 Aug 2006 00:18:59 GMT Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.170]) by robin.gentoo.org (8.13.7/8.13.6) with ESMTP id k7O0Iwva013467 for ; Thu, 24 Aug 2006 00:18:58 GMT Received: by ug-out-1314.google.com with SMTP id s2so363767uge for ; Wed, 23 Aug 2006 17:18:58 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=bhlivUADGpX8v+hWn6l/2B25PD4NN549VTWIa99Sxmn8wQl8jjbEjcnCw1kikHtzXDCQjnupgTv7FKl3fBmdVpcc1n4+VxaY7lgwmrFrreurhDWkqYe6CBEuXVXyw633kH4nOH+9SZ3Xv76tDvpwQy0uiIiBIJ8b0ZG9QAgBHIQ= Received: by 10.67.93.6 with SMTP id v6mr560212ugl; Wed, 23 Aug 2006 17:18:58 -0700 (PDT) Received: by 10.66.233.11 with HTTP; Wed, 23 Aug 2006 17:18:58 -0700 (PDT) Message-ID: <81bfc67a0608231718w32922afhecb6a0ecf46e33ac@mail.gmail.com> Date: Wed, 23 Aug 2006 20:18:58 -0400 From: "Caleb Cushing" To: gentoo-catalyst@lists.gentoo.org Subject: Re: [gentoo-catalyst] xorg starting wrong user permissions. In-Reply-To: <44ECDD19.4060001@gentoo.org> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-catalyst@gentoo.org Reply-to: gentoo-catalyst@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_118960_12339513.1156378738326" References: <81bfc67a0608231534v6e2644capbf0a4b54e09974fd@mail.gmail.com> <44ECDD19.4060001@gentoo.org> X-Archives-Salt: 0628cbbb-b9cd-4d2f-ab80-a646c58f5c96 X-Archives-Hash: c64f68b2c0bcaf535bec7995cdd84496 ------=_Part_118960_12339513.1156378738326 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline yeah I'm trying the second one but they aren't in my root overlay. they might be in /etc/skel but they are created when the user is. On 8/23/06, Andrew Gaffney wrote: > > Caleb Cushing wrote: > > I created a custom auto-logon user. however X complains that the files > > in the user's home directory aren't owned by him. how should I get these > > files to be owned or at leas writeable by the user? the directory and > > all files are owned by root. > > I assume you are putting these files on the CD using root_overlay. I just > ran > into the same problem last night. When catalyst copies the files into the > chroot, it copies them with the same permissions. > > You have two options: 1) 'chown -R 1000:users' the stuff in the > root_overlay dir > (the first user created in the chroot will have the uid 1000), or 2) run > 'chown > -R youruser:users /home/youruser' in a fsscript. > > -- > Andrew Gaffney http://dev.gentoo.org/~agaffney/ > Gentoo Linux Developer Installer Project > -- > gentoo-catalyst@gentoo.org mailing list > > ------=_Part_118960_12339513.1156378738326 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline yeah I'm trying the second one but they aren't in my root overlay. they might be in /etc/skel but they are created when the user is.

On 8/23/06, Andrew Gaffney <agaffney@gentoo.org> wrote:
Caleb Cushing wrote:
> I created a custom auto-logon user. however X complains that the files
> in the user's home directory aren't owned by him. how should I get these
> files to be owned or at leas writeable by the user? the directory and
> all files are owned by root.

I assume you are putting these files on the CD using root_overlay. I just ran
into the same problem last night. When catalyst copies the files into the
chroot, it copies them with the same permissions.

You have two options: 1) 'chown -R 1000:users' the stuff in the root_overlay dir
(the first user created in the chroot will have the uid 1000), or 2) run 'chown
-R youruser:users /home/youruser' in a fsscript.

--
Andrew Gaffney                            http://dev.gentoo.org/~agaffney/
Gentoo Linux Developer                                   Installer Project
--
gentoo-catalyst@gentoo.org mailing list


------=_Part_118960_12339513.1156378738326-- -- gentoo-catalyst@gentoo.org mailing list