LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: "Leisner, Martin" <Martin.Leisner@xerox.com>
To: "Andreas Schwab" <schwab@suse.de>,
	"Marty Leisner" <linux@rochester.rr.com>
Cc: <linux-kernel@vger.kernel.org>, <bug-cpio@gnu.org>
Subject: RE: ownership/permissions of cpio initrd
Date: Tue, 5 Dec 2006 16:56:26 -0500	[thread overview]
Message-ID: <556445368AFA1C438794ABDA8901891C03445640@usa0300ms03.na.xerox.net> (raw)
In-Reply-To: <jehcwa13wv.fsf@sykes.suse.de>

hmmm...I looked at that -- that's extract and passthrough, but not create...

I'll look at the other solutions...but the bottom line if you want to do root things, you need to
become root -- its always a better idea to munge bits than change permissions...so ANYONE can make
distributions with no special priveleges...


marty 

> -----Original Message-----
> From: Andreas Schwab [mailto:schwab@suse.de] 
> 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: ownership/permissions of cpio initrd
> 
> "Marty Leisner" <linux@rochester.rr.com> 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
>                              specified USER and/or GROUP
> 
> Andreas.
> 
> -- 
> Andreas Schwab, SuSE Labs, schwab@suse.de
> SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
> PGP key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 
> 214B 8276 4ED5
> "And now for something completely different."
> 

  reply	other threads:[~2006-12-05 21:57 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 [this message]
2006-12-05 22:23       ` Andreas Schwab
2006-12-06 12:17   ` Rainer Bawidamann

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=556445368AFA1C438794ABDA8901891C03445640@usa0300ms03.na.xerox.net \
    --to=martin.leisner@xerox.com \
    --cc=bug-cpio@gnu.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@rochester.rr.com \
    --cc=schwab@suse.de \
    --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).