[nycbug-talk] umask in Makefile

Ray Lai nycbug
Tue Jan 31 15:11:37 EST 2006

On Tue, Jan 31, 2006 at 02:43:37PM -0500, George Georgalis wrote:
> Is there any way to set the umask within a makefile for all the
> files it creates? with a default umask of 002 in my shell, I'd
> like to have make use 022 without starting each line that creates
> a file with "umask 022 ;"
> I don't particulary want to write a wrapper to call make, but that
> seems the only way. Ideas?


Not much better, but it's an alternative.


More information about the talk mailing list