Re: ownership/permissions of cpio initrd

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux