[Top][All Lists]

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

Umask issue with installing directories?

From: Wheeler, Kyle Bruce
Subject: Umask issue with installing directories?
Date: Thu, 27 May 2010 08:23:43 -0600


I've been having an annoying issue that looks a bit like a umask issue. When I 
do `sudo make install` on a project that installs a directory of things,the 
files get installed with reasonable permissions (644), but the directories 
(e.g. /usr/local/include/<projectname> that get installed get a permission mask 
of 700---which is entirely useless.

Now, obviously, part of this is that the files get installed with `install` and 
a permission mode is specified, whereas directories are created with `mkdir` 
and a permission mode is (for some reason) NOT specified. Thus it's defined by 
the current umask (which, for me, is 0077).

Is this my fault for having too restrictive a umask, or is this autotools fault 
for making invalid assumptions about my umask? Is there a way around this?

I'm using automake 1.11.1 and autoconf 2.65 on MacOS 10.6.3, if that makes a 
Kyle Wheeler, PhD

reply via email to

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