Re: Kernelsources writeable for everyone?!

Mark Rosenstand
2006-06-25T01:19:28Z

On Sat, 2006-06-24 at 19:17 +0100, Al Viro wrote:
> On Sat, Jun 24, 2006 at 08:00:50PM +0200, Daniel wrote:
> > Hi,
> > may be this was reported/asked 999999999 times, but here ist the 1000000000th:
> >
> > I have downloaded linux-2.6.17.1 10 min ago and I noticed that every file is
> > writeable by everyone. What's going on there?

It's an abusive way of telling people to not extract the kernel sources
as root. Surely if they don't follow the recommended workflow, their box
deserve to be rooted.

> You are unpacking tarballs as root and preserve ownership and permissions.
> Don't.

Preserving ownership and permissions is the default behaviour for GNU
tar when running as root. Other implementations require the -p option.