Re: Default user now UID 1000 instead of 999?
On Wednesday 01 October 2008, 10:22:33, Julien Cristau wrote:
> On Wed, Oct 1, 2008 at 08:36:10 +0200, Marco Amadori wrote:
> > On Tuesday 30 September 2008, 19:13:48, Julien Cristau wrote:
> > > Unless the files/directories in config/chroot_local-includes/ are owned
> > > by root on the host, they end up owned by a random user on the cd.
> > > Any chance the cpio call in lh_chroot_local-includes could be changed
> > > to not preserve file ownership?
> > This means you do not put them in /etc/skel but create your users at
> > build time, right?
> I do put them in etc/skel, they're just not owned by root on the host.
> Since lh_chroot_local-includes preserves ownership when it copies files
> into the chroot, the files are owned by a random uid on the cd.
Ok, but useradd should chown them when the user is created at runtime. Do you
see wrong uid in the RUNNING system?
If this is the case then it is a live-initramfs related bug.
Anyway, lh_chroot_local-includes should not change permissions IMHO, you
should change them with a l-h's hook and not for your use case.
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.