MantisBT - CMake
View Issue Details
0014439CMakeCPackpublic2013-09-25 06:262014-06-02 08:37
Domagoj Saric 
Nils Gladitz 
normalmajorhave not tried
closedfixed 
Windows
 
CMake 3.0 
0014439: WiX: set/respect file/directory permissions
Installers should generally explicitly set file/directory permissions as specified in the relevant call to the CMake install() funciton.
No tags attached.
Issue History
2013-09-25 06:26Domagoj SaricNew Issue
2013-10-12 17:12Nils GladitzStatusnew => assigned
2013-10-12 17:12Nils GladitzAssigned To => Nils Gladitz
2013-10-15 02:48Nils GladitzNote Added: 0034119
2013-10-15 02:48Nils GladitzStatusassigned => feedback
2014-01-02 14:59Nils GladitzNote Added: 0034896
2014-01-02 14:59Nils GladitzStatusfeedback => resolved
2014-01-02 14:59Nils GladitzFixed in Version => CMake 3.0
2014-01-02 14:59Nils GladitzResolutionopen => fixed
2014-06-02 08:37Robert MaynardNote Added: 0036068
2014-06-02 08:37Robert MaynardStatusresolved => closed

Notes
(0034119)
Nils Gladitz   
2013-10-15 02:48   
CMake sets these permissions on intermediary copies of the installation files before a CPack generator packages them.

The only permission flag that actually seems to survive on windows is OWNER_WRITE. Its absence is translated to the read-only file attribute which I can set with WiX as well (at least for files).

Would this be sufficient for your use case?
(0034896)
Nils Gladitz   
2014-01-02 14:59   
Since there has been no further feedback I'll consider this resolved by:

http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=44a7543c530cad64c429e85c679c481ee587f929 [^]

which implements the read-only flag for installed files.
(0036068)
Robert Maynard   
2014-06-02 08:37   
Closing resolved issues that have not been updated in more than 4 months.