LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: rainer@de.ibm.com (Rainer Bawidamann)
To: linux-kernel@vger.kernel.org
Cc: "Marty Leisner" <linux@rochester.rr.com>
Subject: Re: ownership/permissions of cpio initrd
Date: Wed, 06 Dec 2006 13:17:08 +0100 [thread overview]
Message-ID: <E1Grvi0-0002f9-9K@mogwai.local> (raw)
In-Reply-To: <200612051720.kB5HKU4i001616@dell2.home>
In article <200612051720.kB5HKU4i001616@dell2.home>,
"Marty Leisner" <linux@rochester.rr.com> 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 the archive
> by playing with the bits...
>
> Does such a tool exist? Comments? Seems very useful in order to
> avoid being root...
The kernel sources provide a program that should do what you want in
linux/usr/gen_init_cpio.c
Documentation is available in the source or from the command line.
Rainer
prev parent reply other threads:[~2006-12-06 12:17 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <linux@rochester.rr.com>
2006-12-05 17:20 ` Marty Leisner
2006-12-05 20:07 ` Horst H. von Brand
2006-12-05 20:17 ` Jeffrey Hundstad
2006-12-05 20:24 ` Horst H. von Brand
2006-12-05 20:32 ` Jan Engelhardt
2006-12-05 20:35 ` Jeffrey Hundstad
2006-12-05 20:39 ` Jan Engelhardt
2006-12-05 20:58 ` Jeffrey Hundstad
2006-12-05 21:43 ` Jan Engelhardt
2006-12-06 6:54 ` Marty Leisner
2006-12-05 20:30 ` Andreas Schwab
2006-12-05 21:56 ` Leisner, Martin
2006-12-05 22:23 ` Andreas Schwab
2006-12-06 12:17 ` Rainer Bawidamann [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=E1Grvi0-0002f9-9K@mogwai.local \
--to=rainer@de.ibm.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@rochester.rr.com \
--subject='Re: ownership/permissions of cpio initrd' \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).