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

From: Jason Eisner <[email-masked]>
Date: Wed, 22 Aug 2012 02:20:06 -0400

On Tue, Aug 21, 2012 at 12:55 AM, Peter Johansson <[email-masked]> wrote:

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

Good!  So then, why not correct the default for new directories to 755, as
originally proposed?

cheers, jason