Re: Re: [KERNEL 2.6.15] All files have -rw-rw-rw- permission.

From: Komuro
Date: Sun Jan 08 2006 - 00:22:26 EST


Hello,

>> 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.
>

O.K.

Thanks,
Komuro


-
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/