[cmake-developers] [CMake 0013119]: DEB generator, implicitly created directories have incorrect permissions

Mantis Bug Tracker mantis at public.kitware.com
Tue Apr 10 17:01:21 EDT 2012


The following issue has been SUBMITTED. 
====================================================================== 
http://cmake.org/Bug/view.php?id=13119 
====================================================================== 
Reported By:                kiri
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   13119
Category:                   CPack
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2012-04-10 22:01 BST
Last Modified:              2012-04-10 22:01 BST
====================================================================== 
Summary:                    DEB generator, implicitly created directories have
incorrect permissions
Description: 
Directories in data.tar.gz, which are implicitly created have incorrect
permissions. They are not set by the permissions passed to tar or to Install().

For example with

Install ( TARGETS main RUNTIME DESTINATION bin PERMISSIONS WORLD_READ )
Set ( ENV{TAR_OPTIONS} "--mode=o+r" )

the created directories ( usr , usr/bin ) have their permissions set by the
creating users umask, not from the TAR_OPTIONS or Install(PERMISSIONS) .

Additional Information: 
Related to Bug http://cmake.org/Bug/view.php?id=13118 .
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2012-04-10 22:01 kiri           New Issue                                    
======================================================================




More information about the cmake-developers mailing list