From: Junio C Hamano <junkio@cox.net>
To: Komuro <komurojun-mbn@nifty.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [KERNEL 2.6.15] All files have -rw-rw-rw- permission.
Date: Sat, 07 Jan 2006 15:30:18 -0800 [thread overview]
Message-ID: <7vmzi78vlh.fsf@assigned-by-dhcp.cox.net> (raw)
In-Reply-To: <3378320.1136549095236.komurojun-mbn@nifty.com>
Komuro <komurojun-mbn@nifty.com> writes:
> But, is there any reason to set -----w--w- bit
> by default?
Yes.
Please do not extract the kernel tarball as the root user,
especially if you do not know how tar command works for root
user by default (hint: --no-same-permissions).
Setting g-w in the archive forces arbitrary policy on people who
work with umask 002 as a non-root user. We can let that policy
to be controlled by user's umask by being lenient in the
tarball. For the same reason, if somebody has umask 0, there is
no reason for us (as tarball creator) to impose o-w as a policy
on him either, hence git-tar-tree output has 0666 or 0777 modes.
next prev parent reply other threads:[~2006-01-07 23:30 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-01-05 12:15 Komuro
2006-01-06 3:17 ` Randy.Dunlap
2006-01-06 4:21 ` Bernd Eckenfels
2006-01-06 12:04 ` Komuro
2006-01-07 23:30 ` Junio C Hamano [this message]
2006-01-08 5:22 ` Komuro
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=7vmzi78vlh.fsf@assigned-by-dhcp.cox.net \
--to=junkio@cox.net \
--cc=komurojun-mbn@nifty.com \
--cc=linux-kernel@vger.kernel.org \
/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
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®