Subject: Re: bug#12130: Fwd: bug#12130: "sudo make install" applies umask to new directories

From: Peter Johansson <[email-masked]>
Date: Tue, 21 Aug 2012 14:55:55 +1000

On 08/21/2012 02:46 PM, Jason Eisner wrote:
> Better idea:
>
> Have default 644 for files and 755 for directories, but let the user 
> override this by explicitly specifying any of
> * the desired file permissions
> * the desired directory permissions for newly created directories
> * the desired group owner for newly created files and directories
> via command-line options on "make install".
>
>
You can already do this. You can, e.g., install packages with

make install MKDIR_P="mkdir -p -m 700"

Cheers,
Peter