Re: Kernelsources writeable for everyone?!
- From: Rene Scharfe <rene.scharfe@xxxxxxxxxxxxxx>
- Date: Sat, 24 Jun 2006 20:14:29 +0200
Daniel schrieb:
Hi,
may be this was reported/asked 999999999 times, but here ist the 1000000000th:
You're close. :-P
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?
coffee src # tar -jtvf linux-2.6.17.1.tar.bz2
drwxrwxrwx git/git 0 2006-06-20 11:31:55 linux-2.6.17.1/
This is intentional. You can set the permissions to anything you want
by making tar honor the umask setting -- without needing to run chmod
after extracting.
So either use the --no-same-permissions option of GNU tar, or simply
don't run tar as root (then this option is on by default), which is a
good idea anyway.
René
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
- References:
- Kernelsources writeable for everyone?!
- From: Daniel
- Kernelsources writeable for everyone?!
- Prev by Date: Re: [RFC PATCH 2.6.17-mm1 4/3] ieee1394: convert ieee1394_transactions from semaphores to waitqueue
- Next by Date: Re: PATCH: Change in-kernel afs client filesystem name to 'kafs'
- Previous by thread: Re: Kernelsources writeable for everyone?!
- Next by thread: Re: Kernelsources writeable for everyone?!
- Index(es):
Relevant Pages
|