Messages in this thread | | | From | Junio C Hamano <> | Subject | Re: [KERNEL 2.6.15] All files have -rw-rw-rw- permission. | Date | Sat, 07 Jan 2006 15:30:18 -0800 |
| |
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.
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |