- Subject: permission pb
- From: juergen at fiedlerfamily.net (Juergen Fiedler)
- Date: Thu Apr 26 14:41:41 2007
- Message-id: <20070426141018.GA2005@fiedlerfamily.net>
- In-reply-to: <20070426030023.GA8975@mondomaine>
- References: <20070426030023.GA8975@mondomaine>
On Thu, Apr 26, 2007 at 07:00:23AM +0400, Philippe MONROUX wrote:
> In /root/debian-live/config/image I have
> And I tried to populate my /home/phi
> so I created /root/debian-live/config/chroot_localincludes/home/phi/
> with some rcfiles inside, .emacs for example (note symlinks doesn't
> work. Real files needed but it another question).
> after creating iso I have /root/debian-live/chroot/home/phi/.emacs
> with right permissions
> -rw-r--r-- 1 phi phi 40952 2007-03-17 06:10 /root/debian-live/chroot/home/phi/.emacs
> but not when I test live.iso with qemu. User is phi but rcfiles in
> /home/phi doesn't belong to him (they belong to 1000 1000) so I can
> only read my emacs (and others).
The problem is that casper creates the user in question during system
startup - so your rc files may be overwritten, they may belong to
someone else, and probably a whole lot of other unpleasantnesses.
The most convenient way to work around this is to put all those files
in /root/debian-live/config/chroot_localincludes/etc/skel - that way,
when casper creates the user in question, it will copy those files
into the user's home directory, proper permissions and all.
Hope that helps,
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/debian-live-devel/attachments/20070426/a001f0b4/attachment.pgp
- permission pb
- From: phi2-monroux at wanadoo.fr (Philippe MONROUX)