No, creat is only interested in the directory permissions. It is
open(..., O_TRUNC) that causes the problem. There are not many
programs that actually use that for their output files, but shell
output redirection is one of them, and some editors tend to do this as
well in order to easily preserve permissions.
There are no other shell output redirections to an undeleted file in
the Makefile.
--
David Kastrup
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html