bug-automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: didi
Subject: bug#12130: Fwd: bug#12130: "sudo make install" applies umask to new directories
Date: Fri, 14 Sep 2012 09:29:03 +0000 (UTC)
User-agent: Loom/3.14 (http://gmane.org/)

Peter Johansson <trojkan <at> gmail.com> writes:

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

Unfortunately this doesn't seem to work properly, as the parent directories
still retain the permissions of the user.

$ mkdir -p -m 755 foo/bar

drwx------ foo/
drwxr-xr-x bar/






reply via email to

[Prev in Thread] Current Thread [Next in Thread]