public inbox for gentoo-catalyst@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-catalyst] xorg starting wrong user permissions.
@ 2006-08-23 22:34 Caleb Cushing
  2006-08-23 22:56 ` Andrew Gaffney
  0 siblings, 1 reply; 13+ messages in thread
From: Caleb Cushing @ 2006-08-23 22:34 UTC (permalink / raw
  To: gentoo-catalyst

[-- Attachment #1: Type: text/plain, Size: 243 bytes --]

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.

[-- Attachment #2: Type: text/html, Size: 248 bytes --]

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [gentoo-catalyst] xorg starting wrong user permissions.
  2006-08-23 22:34 [gentoo-catalyst] xorg starting wrong user permissions Caleb Cushing
@ 2006-08-23 22:56 ` Andrew Gaffney
  2006-08-24  0:18   ` Caleb Cushing
  0 siblings, 1 reply; 13+ messages in thread
From: Andrew Gaffney @ 2006-08-23 22:56 UTC (permalink / raw
  To: gentoo-catalyst

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



^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [gentoo-catalyst] xorg starting wrong user permissions.
  2006-08-23 22:56 ` Andrew Gaffney
@ 2006-08-24  0:18   ` Caleb Cushing
  2006-08-30 20:22     ` Caleb Cushing
  0 siblings, 1 reply; 13+ messages in thread
From: Caleb Cushing @ 2006-08-24  0:18 UTC (permalink / raw
  To: gentoo-catalyst

[-- Attachment #1: Type: text/plain, Size: 1120 bytes --]

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
>
>

[-- Attachment #2: Type: text/html, Size: 1832 bytes --]

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [gentoo-catalyst] xorg starting wrong user permissions.
  2006-08-24  0:18   ` Caleb Cushing
@ 2006-08-30 20:22     ` Caleb Cushing
  2006-08-31  2:09       ` Chris Gianelloni
  0 siblings, 1 reply; 13+ messages in thread
From: Caleb Cushing @ 2006-08-30 20:22 UTC (permalink / raw
  To: gentoo-catalyst

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 <xenoterracide@gmail.com> 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 <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
> >
> >
>
>
-- 
gentoo-catalyst@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [gentoo-catalyst] xorg starting wrong user permissions.
  2006-08-30 20:22     ` Caleb Cushing
@ 2006-08-31  2:09       ` Chris Gianelloni
  2006-08-31  5:48         ` Caleb Cushing
  0 siblings, 1 reply; 13+ messages in thread
From: Chris Gianelloni @ 2006-08-31  2:09 UTC (permalink / raw
  To: gentoo-catalyst

[-- Attachment #1: Type: text/plain, Size: 718 bytes --]

On Wed, 2006-08-30 at 16:22 -0400, Caleb Cushing wrote:
> 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?

No.  Get more specific with your fsscript.

If the file is /home/foo/.dmrc, then specify it.

chown 1000:100 /home/foo/.dmrc

-- 
Chris Gianelloni
Release Engineering - Strategic Lead
x86 Architecture Team
Games - Developer
Gentoo Linux

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [gentoo-catalyst] xorg starting wrong user permissions.
  2006-08-31  2:09       ` Chris Gianelloni
@ 2006-08-31  5:48         ` Caleb Cushing
  2006-08-31 21:48           ` Chris Gianelloni
  0 siblings, 1 reply; 13+ messages in thread
From: Caleb Cushing @ 2006-08-31  5:48 UTC (permalink / raw
  To: gentoo-catalyst

yeah but what I don't understand is how is this going to work if these
directories and files haven't been created yet?

On 8/30/06, Chris Gianelloni <wolf31o2@gentoo.org> wrote:
> On Wed, 2006-08-30 at 16:22 -0400, Caleb Cushing wrote:
> > 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?
>
> No.  Get more specific with your fsscript.
>
> If the file is /home/foo/.dmrc, then specify it.
>
> chown 1000:100 /home/foo/.dmrc
>
> --
> Chris Gianelloni
> Release Engineering - Strategic Lead
> x86 Architecture Team
> Games - Developer
> Gentoo Linux
>
>
>
-- 
gentoo-catalyst@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [gentoo-catalyst] xorg starting wrong user permissions.
  2006-08-31  5:48         ` Caleb Cushing
@ 2006-08-31 21:48           ` Chris Gianelloni
  2006-09-01 18:49             ` Caleb Cushing
  0 siblings, 1 reply; 13+ messages in thread
From: Chris Gianelloni @ 2006-08-31 21:48 UTC (permalink / raw
  To: gentoo-catalyst

[-- Attachment #1: Type: text/plain, Size: 1277 bytes --]

Well, .dmrc should be created by livecdfs-update.sh, and the fsscript
runs after that script does...

On Thu, 2006-08-31 at 01:48 -0400, Caleb Cushing wrote:
> yeah but what I don't understand is how is this going to work if these
> directories and files haven't been created yet?
> 
> On 8/30/06, Chris Gianelloni <wolf31o2@gentoo.org> wrote:
> > On Wed, 2006-08-30 at 16:22 -0400, Caleb Cushing wrote:
> > > 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?
> >
> > No.  Get more specific with your fsscript.
> >
> > If the file is /home/foo/.dmrc, then specify it.
> >
> > chown 1000:100 /home/foo/.dmrc
> >
> > --
> > Chris Gianelloni
> > Release Engineering - Strategic Lead
> > x86 Architecture Team
> > Games - Developer
> > Gentoo Linux
> >
> >
> >
-- 
Chris Gianelloni
Release Engineering - Strategic Lead
x86 Architecture Team
Games - Developer
Gentoo Linux

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [gentoo-catalyst] xorg starting wrong user permissions.
  2006-08-31 21:48           ` Chris Gianelloni
@ 2006-09-01 18:49             ` Caleb Cushing
  2006-09-07 15:23               ` Caleb Cushing
  0 siblings, 1 reply; 13+ messages in thread
From: Caleb Cushing @ 2006-09-01 18:49 UTC (permalink / raw
  To: gentoo-catalyst

hmm... well I can show you the fsscript on monday... but I know I had
a chmod myuser:users in there... for the home directory... was
probably chmod -R myuser:users /home/myuser

On 8/31/06, Chris Gianelloni <wolf31o2@gentoo.org> wrote:
> Well, .dmrc should be created by livecdfs-update.sh, and the fsscript
> runs after that script does...
>
> On Thu, 2006-08-31 at 01:48 -0400, Caleb Cushing wrote:
> > yeah but what I don't understand is how is this going to work if these
> > directories and files haven't been created yet?
> >
> > On 8/30/06, Chris Gianelloni <wolf31o2@gentoo.org> wrote:
> > > On Wed, 2006-08-30 at 16:22 -0400, Caleb Cushing wrote:
> > > > 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?
> > >
> > > No.  Get more specific with your fsscript.
> > >
> > > If the file is /home/foo/.dmrc, then specify it.
> > >
> > > chown 1000:100 /home/foo/.dmrc
> > >
> > > --
> > > Chris Gianelloni
> > > Release Engineering - Strategic Lead
> > > x86 Architecture Team
> > > Games - Developer
> > > Gentoo Linux
> > >
> > >
> > >
> --
> Chris Gianelloni
> Release Engineering - Strategic Lead
> x86 Architecture Team
> Games - Developer
> Gentoo Linux
>
>
>
-- 
gentoo-catalyst@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [gentoo-catalyst] xorg starting wrong user permissions.
  2006-09-01 18:49             ` Caleb Cushing
@ 2006-09-07 15:23               ` Caleb Cushing
  2006-09-07 15:33                 ` Andrew Gaffney
  0 siblings, 1 reply; 13+ messages in thread
From: Caleb Cushing @ 2006-09-07 15:23 UTC (permalink / raw
  To: gentoo-catalyst

here is mys script.


chown -R bgkiosk:users /home/bgkiosk/
chown -R bgkiosk:users /home/bgkiosk/.*
echo "root:*" | chpasswd


see any reason that I should have permission problems? how is the use
created? that his home directory is owned by root?




On 9/1/06, Caleb Cushing <xenoterracide@gmail.com> wrote:
> hmm... well I can show you the fsscript on monday... but I know I had
> a chmod myuser:users in there... for the home directory... was
> probably chmod -R myuser:users /home/myuser
>
> On 8/31/06, Chris Gianelloni <wolf31o2@gentoo.org> wrote:
> > Well, .dmrc should be created by livecdfs-update.sh, and the fsscript
> > runs after that script does...
> >
> > On Thu, 2006-08-31 at 01:48 -0400, Caleb Cushing wrote:
> > > yeah but what I don't understand is how is this going to work if these
> > > directories and files haven't been created yet?
> > >
> > > On 8/30/06, Chris Gianelloni <wolf31o2@gentoo.org> wrote:
> > > > On Wed, 2006-08-30 at 16:22 -0400, Caleb Cushing wrote:
> > > > > 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?
> > > >
> > > > No.  Get more specific with your fsscript.
> > > >
> > > > If the file is /home/foo/.dmrc, then specify it.
> > > >
> > > > chown 1000:100 /home/foo/.dmrc
> > > >
> > > > --
> > > > Chris Gianelloni
> > > > Release Engineering - Strategic Lead
> > > > x86 Architecture Team
> > > > Games - Developer
> > > > Gentoo Linux
> > > >
> > > >
> > > >
> > --
> > Chris Gianelloni
> > Release Engineering - Strategic Lead
> > x86 Architecture Team
> > Games - Developer
> > Gentoo Linux
> >
> >
> >
>
-- 
gentoo-catalyst@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [gentoo-catalyst] xorg starting wrong user permissions.
  2006-09-07 15:23               ` Caleb Cushing
@ 2006-09-07 15:33                 ` Andrew Gaffney
  2006-09-07 15:40                   ` Caleb Cushing
  2006-09-11  0:45                   ` [gentoo-catalyst] Error installing cvs packages Pedro
  0 siblings, 2 replies; 13+ messages in thread
From: Andrew Gaffney @ 2006-09-07 15:33 UTC (permalink / raw
  To: gentoo-catalyst

Caleb Cushing wrote:
> here is mys script.
> 
> chown -R bgkiosk:users /home/bgkiosk/
> chown -R bgkiosk:users /home/bgkiosk/.*

'chown -R bgkiosk:users /home/bgkiosk' can replace those 2 lines

> echo "root:*" | chpasswd

This is setting the root password to "*", which is probably not what you 
intended to do. Also, you'll want to use single quotes in the echo when passing 
stuff to chpasswd to avoid the shell interpolating stuff in the string. In the 
above command, the root password is probably actually being set to a list of all 
the files in whatever directory you're in :P Use the -e option to chpasswd to 
have it put the password into /etc/shadow as-is. You could also use 'passwd -l 
root' to lock the account.

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

-- 
gentoo-catalyst@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [gentoo-catalyst] xorg starting wrong user permissions.
  2006-09-07 15:33                 ` Andrew Gaffney
@ 2006-09-07 15:40                   ` Caleb Cushing
  2006-09-11 16:55                     ` Caleb Cushing
  2006-09-11  0:45                   ` [gentoo-catalyst] Error installing cvs packages Pedro
  1 sibling, 1 reply; 13+ messages in thread
From: Caleb Cushing @ 2006-09-07 15:40 UTC (permalink / raw
  To: gentoo-catalyst

I'd like to note that that really isn't the password I'm setting... I
changed that so it wouldn't be displayed here.

yeah I figgure the one line should handle both but it doesn't work...
I still have permission errors. should I maybe use the fsscript to
make the user instead of letting catalyst do it.


On 9/7/06, Andrew Gaffney <agaffney@gentoo.org> wrote:
> Caleb Cushing wrote:
> > here is mys script.
> >
> > chown -R bgkiosk:users /home/bgkiosk/
> > chown -R bgkiosk:users /home/bgkiosk/.*
>
> 'chown -R bgkiosk:users /home/bgkiosk' can replace those 2 lines
>
> > echo "root:*" | chpasswd
>
> This is setting the root password to "*", which is probably not what you
> intended to do. Also, you'll want to use single quotes in the echo when passing
> stuff to chpasswd to avoid the shell interpolating stuff in the string. In the
> above command, the root password is probably actually being set to a list of all
> the files in whatever directory you're in :P Use the -e option to chpasswd to
> have it put the password into /etc/shadow as-is. You could also use 'passwd -l
> root' to lock the account.
>
> --
> Andrew Gaffney                            http://dev.gentoo.org/~agaffney/
> Gentoo Linux Developer                                   Installer Project
>
> --
> gentoo-catalyst@gentoo.org mailing list
>
>
-- 
gentoo-catalyst@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 13+ messages in thread

* [gentoo-catalyst] Error installing cvs packages
  2006-09-07 15:33                 ` Andrew Gaffney
  2006-09-07 15:40                   ` Caleb Cushing
@ 2006-09-11  0:45                   ` Pedro
  1 sibling, 0 replies; 13+ messages in thread
From: Pedro @ 2006-09-11  0:45 UTC (permalink / raw
  To: gentoo-catalyst

I was trying to create a livecd with the new e17 (cvs). One or two weeks
ago catalyst was able to compile and create the livecd (stage1 and
stage2) with no problems but now I get the following errors while
compiling e:
 * Fetching CVS module e17/libs/edb
into /usr/portage/distfiles/cvs-src ...
/bin/pwd: couldn't find directory entry in `../..' with matching i-node
 * Running  cvs -q -f -z4 -d
":pserver:anonymous:@anoncvs.enlightenment.org:/var/cvs/e" login
cvs [login aborted]: cannot get working directory: No such file or
directory

I have only (or only have?? my English is not very good..) changed the
portage snapshot (updated) and the stage3 tarball (updated to 2006.1).
If I emerge dev-db/edb in my computer it is downloaded and compilend
without errors. Any suggestions???
Thanks in advance, and thanks for catalyst!!

El jue, 07-09-2006 a las 10:33 -0500, Andrew Gaffney escribió:
> Caleb Cushing wrote:
> > here is mys script.
> > 
> > chown -R bgkiosk:users /home/bgkiosk/
> > chown -R bgkiosk:users /home/bgkiosk/.*
> 
> 'chown -R bgkiosk:users /home/bgkiosk' can replace those 2 lines
> 
> > echo "root:*" | chpasswd
> 
> This is setting the root password to "*", which is probably not what you 
> intended to do. Also, you'll want to use single quotes in the echo when passing 
> stuff to chpasswd to avoid the shell interpolating stuff in the string. In the 
> above command, the root password is probably actually being set to a list of all 
> the files in whatever directory you're in :P Use the -e option to chpasswd to 
> have it put the password into /etc/shadow as-is. You could also use 'passwd -l 
> root' to lock the account.
> 
> -- 
> Andrew Gaffney                            http://dev.gentoo.org/~agaffney/
> Gentoo Linux Developer                                   Installer Project
> 

-- 
gentoo-catalyst@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [gentoo-catalyst] xorg starting wrong user permissions.
  2006-09-07 15:40                   ` Caleb Cushing
@ 2006-09-11 16:55                     ` Caleb Cushing
  0 siblings, 0 replies; 13+ messages in thread
From: Caleb Cushing @ 2006-09-11 16:55 UTC (permalink / raw
  To: gentoo-catalyst

ugh... I am still working on this... I've even tried adding the
directory to the overlay and changing permissions there. is there
another way around this?

On 9/7/06, Caleb Cushing <xenoterracide@gmail.com> wrote:
> I'd like to note that that really isn't the password I'm setting... I
> changed that so it wouldn't be displayed here.
>
> yeah I figgure the one line should handle both but it doesn't work...
> I still have permission errors. should I maybe use the fsscript to
> make the user instead of letting catalyst do it.
>
>
> On 9/7/06, Andrew Gaffney <agaffney@gentoo.org> wrote:
> > Caleb Cushing wrote:
> > > here is mys script.
> > >
> > > chown -R bgkiosk:users /home/bgkiosk/
> > > chown -R bgkiosk:users /home/bgkiosk/.*
> >
> > 'chown -R bgkiosk:users /home/bgkiosk' can replace those 2 lines
> >
> > > echo "root:*" | chpasswd
> >
> > This is setting the root password to "*", which is probably not what you
> > intended to do. Also, you'll want to use single quotes in the echo when passing
> > stuff to chpasswd to avoid the shell interpolating stuff in the string. In the
> > above command, the root password is probably actually being set to a list of all
> > the files in whatever directory you're in :P Use the -e option to chpasswd to
> > have it put the password into /etc/shadow as-is. You could also use 'passwd -l
> > root' to lock the account.
> >
> > --
> > Andrew Gaffney                            http://dev.gentoo.org/~agaffney/
> > Gentoo Linux Developer                                   Installer Project
> >
> > --
> > gentoo-catalyst@gentoo.org mailing list
> >
> >
>
-- 
gentoo-catalyst@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2006-09-11 16:55 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-08-23 22:34 [gentoo-catalyst] xorg starting wrong user permissions Caleb Cushing
2006-08-23 22:56 ` Andrew Gaffney
2006-08-24  0:18   ` Caleb Cushing
2006-08-30 20:22     ` Caleb Cushing
2006-08-31  2:09       ` Chris Gianelloni
2006-08-31  5:48         ` Caleb Cushing
2006-08-31 21:48           ` Chris Gianelloni
2006-09-01 18:49             ` Caleb Cushing
2006-09-07 15:23               ` Caleb Cushing
2006-09-07 15:33                 ` Andrew Gaffney
2006-09-07 15:40                   ` Caleb Cushing
2006-09-11 16:55                     ` Caleb Cushing
2006-09-11  0:45                   ` [gentoo-catalyst] Error installing cvs packages Pedro

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox