Re: ownership/permissions of cpio initrd

2006-12-06 Thread Rainer Bawidamann
In article <[EMAIL PROTECTED]>, "Marty Leisner" <[EMAIL PROTECTED]> writes: > But its "useful" to change permissions/ownership of the initrd > files at times... > > Since a cpio is just a userspace created string of bits, I suppose > you can apply a set of ownership/permissions to files IN

Re: ownership/permissions of cpio initrd

2006-12-05 Thread Marty Leisner
Jeffrey Hundstad <[EMAIL PROTECTED]> writes on Tue, 05 Dec 20 06 14:17:22 CST > You can also use fakeroot(1). > > Start fakeroot. > Change all of your permissions as you see fit. > make your cpio > exit fakeroot. > > > ThanksI got it running on

Re: ownership/permissions of cpio initrd

2006-12-05 Thread Andreas Schwab
"Leisner, Martin" <[EMAIL PROTECTED]> writes: > hmmm...I looked at that -- that's extract and passthrough, but not create... No, it's copy-out and copy-pass. It does not make sense for copy-in. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5,

RE: ownership/permissions of cpio initrd

2006-12-05 Thread Leisner, Martin
ns with no special priveleges... marty > -Original Message- > From: Andreas Schwab [mailto:[EMAIL PROTECTED] > Sent: Tuesday, December 05, 2006 3:31 PM > To: Marty Leisner > Cc: linux-kernel@vger.kernel.org; bug-cpio@gnu.org; Leisner, Martin > Subject: Re: ownershi

Re: ownership/permissions of cpio initrd

2006-12-05 Thread Jan Engelhardt
On Dec 5 2006 14:58, Jeffrey Hundstad wrote: > > ...It also let's you mknod and friends, and let's you set permissions to files > to more than just ONE user. The whole point of the commands is to let you > make > distribution files without root access. Of course you can fake all of this > with

Re: ownership/permissions of cpio initrd

2006-12-05 Thread Jeffrey Hundstad
Jan Engelhardt wrote: It appears to not be standard with fedora for sure... but while it origiginally was/is a Debian package it looks like there is source if you'd like to build it on other systems. It was originally designed to tackle the exact problem you are confronting. See: http://freshme

Re: ownership/permissions of cpio initrd

2006-12-05 Thread Jan Engelhardt
> It appears to not be standard with fedora for sure... but while it > origiginally > was/is a Debian package it looks like there is source if you'd like to build > it > on other systems. It was originally designed to tackle the exact problem you > are confronting. > > See: > http://freshmeat.n

Re: ownership/permissions of cpio initrd

2006-12-05 Thread Jeffrey Hundstad
It appears to not be standard with fedora for sure... but while it origiginally was/is a Debian package it looks like there is source if you'd like to build it on other systems. It was originally designed to tackle the exact problem you are confronting. See: http://freshmeat.net/projects/fake

Re: ownership/permissions of cpio initrd

2006-12-05 Thread Jan Engelhardt
>> You can also use fakeroot(1). > >I think that is a debianism... not here on Fedora. LKML is (hopefully) distro neutral. That useless line aside, the linux kernel build process supports creating a cpio archive with privileged things (devices) as a normal user. -`J' -- - To

Re: ownership/permissions of cpio initrd

2006-12-05 Thread Andreas Schwab
"Marty Leisner" <[EMAIL PROTECTED]> writes: > Since a cpio is just a userspace created string of bits, I suppose > you can apply a set of ownership/permissions to files IN the archive > by playing with the bits... -R, --owner=[USER][:.][GROUP] Set the ownership of all files created to the

Re: ownership/permissions of cpio initrd

2006-12-05 Thread Horst H. von Brand
Jeffrey Hundstad <[EMAIL PROTECTED]> wrote: > You can also use fakeroot(1). I think that is a debianism... not here on Fedora. -- Dr. Horst H. von Brand User #22616 counter.li.org Departamento de InformaticaFono: +56 32 2654431 Universidad Tecnica Federico Sa

Re: ownership/permissions of cpio initrd

2006-12-05 Thread Jeffrey Hundstad
You can also use fakeroot(1). Start fakeroot. Change all of your permissions as you see fit. make your cpio exit fakeroot. Horst H. von Brand wrote: Marty Leisner <[EMAIL PROTECTED]> wrote: I'm working on an embedded system with the 2.6 kernel -- cpio initrd was a new feature I'm looking

Re: ownership/permissions of cpio initrd

2006-12-05 Thread Horst H. von Brand
Marty Leisner <[EMAIL PROTECTED]> wrote: > I'm working on an embedded system with the 2.6 kernel -- cpio > initrd was a new feature I'm looking at (and very welcome). > > The major advantage I see is you don't have MAKE a filesystem > on the build host (doing cross development). So you don't have

ownership/permissions of cpio initrd

2006-12-05 Thread Marty Leisner
I'm working on an embedded system with the 2.6 kernel -- cpio initrd was a new feature I'm looking at (and very welcome). The major advantage I see is you don't have MAKE a filesystem on the build host (doing cross development). So you don't have to be root. But its "useful" to change permission