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 1GIWaU-0006wO-Cp for garchives@archives.gentoo.org; Wed, 30 Aug 2006 20:23:02 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.7/8.13.6) with SMTP id k7UKMeDO003621; Wed, 30 Aug 2006 20:22:40 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 k7UKMdcc026700 for ; Wed, 30 Aug 2006 20:22:39 GMT Received: by ug-out-1314.google.com with SMTP id s2so372766uge for ; Wed, 30 Aug 2006 13:22:39 -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:content-transfer-encoding:content-disposition:references; b=Fdzk9f4U+uquEZkmj6AKK2LzJhvk2Sq1zJ2MeFn92akgx/VNVjx07RP4OyGLwizgQLK+GpN1Ax5NJ+Mn6PzhG3m6UqogqUtI8+GKlVSu5VmVdyYK3xNLe7hs3is2HbzUXMe/BTBa37JZPlg4cbk0ILuznbXz8uXcMsKsqkPb9sQ= Received: by 10.67.100.17 with SMTP id c17mr20105ugm; Wed, 30 Aug 2006 13:22:39 -0700 (PDT) Received: by 10.66.251.3 with HTTP; Wed, 30 Aug 2006 13:22:39 -0700 (PDT) Message-ID: <81bfc67a0608301322ncb86df0s19d761dbf41b82a2@mail.gmail.com> Date: Wed, 30 Aug 2006 16:22:39 -0400 From: "Caleb Cushing" To: gentoo-catalyst@lists.gentoo.org Subject: Re: [gentoo-catalyst] xorg starting wrong user permissions. In-Reply-To: <81bfc67a0608231718w32922afhecb6a0ecf46e33ac@mail.gmail.com> 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: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <81bfc67a0608231534v6e2644capbf0a4b54e09974fd@mail.gmail.com> <44ECDD19.4060001@gentoo.org> <81bfc67a0608231718w32922afhecb6a0ecf46e33ac@mail.gmail.com> X-Archives-Salt: 0f943c2d-47e8-412f-a6fc-e3be1db127b5 X-Archives-Hash: dd8ddef65022400145f995b2205919cf the file in question is the .dmrc this is not in /etc/skel and I do not create it. but for some reason it and the home directory are created with root ownership. I tried putting it what was suggested into an fsscript. however that didn't work. would the only way to solve this problem would to be to create them in the overlay? or with the script before hand so that they are user writeable? On 8/23/06, Caleb Cushing wrote: > 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 > > > > > > -- gentoo-catalyst@gentoo.org mailing list