[CMake] Read-only files lose their read-only attribute when packaged using either ZIP or NSIS

Alan Garny agarny at hellix.com
Fri Mar 8 05:44:48 EST 2013


On 8 Mar 2013, at 11:37, Ansis Māliņš <ansis.malins at gmail.com> wrote:

> Out of curiosity, what is the read-only flag good for anyway?

Surely, the sole fact that it is possible to make a file read-only must mean that some people, at some point, must have thought that it was useful?… Anyway, in my case, it's very simple. I need to deploy files which I don't want my users to edit by mistake. Now, it's true that my users could always make the file writable, but then that's their 'responsibility'.

Alan


More information about the CMake mailing list