[CMake] Setting intermediate directory permissions?

Kevin Burge kevin.burge at systemware.com
Mon Jan 23 11:49:05 EST 2012


I want to force all the install permissions to be only owner 
accessible.  I've done this everywhere using DIRECTORY_PERMISSIONS and 
FILE_PERMISSIONS.  But, intermediate directories created by installing 
targets get some default permissions (in my case, 0755).

I don't want to require the builder or build system to have their umask 
set properly.

Is there a way to specify the permissions used for these intermediate 
directories?  This looks related to the below issue, and some of it's 
related issues.

http://public.kitware.com/Bug/view.php?id=9620

Thanks,
Kevin



More information about the CMake mailing list