Re: [PATCH] templates/Makefile: don't depend on local umask setting
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Feb 28, 2008, 20:52 UTC
- Message-ID
- <7vve48hkhi.fsf@gitster.siamese.dyndns.org>
- In-Reply-To
- <20080228184442.13993.qmail@c0e6a439c34263.315fe32.mid.smarden.org>
Gerrit Pape <pape@smarden.org> writes:
> Don't take the local umask setting into account when installing the > templates/* files and directories, running 'make install' with umask set > to 077 resulted in template/* installed with permissions 700 and 600.
Well spotted. As the current Makefile seems to assume the users like 022 umask (existing "$(INSTALL) -d" uses "-m 755"), your changes are consistent with it.