Archive: Edited files lack read permission for standard users


Edited files lack read permission for standard users
Hi

I'm new to NSIS, so I hope my question is easy to answer. I'm trying to build an installer with NSIS 2.46. The installer will be run by an administrator and will install the application for all users. The installer extracts many files to the program files directory, a few of which he also edits. Editing is done by means of AdvReplaceInFile.
Now I realize that those files that were edited by NSIS lack read permission for standard users. This in contrast to the other files extracted by the installer, which are readable for standard users.
The test was performed under Windows Vista.

Can somebody explain this behavior? Or is it a bug? In case it is not a bug: how can I add read permissions for standard users again?

Thanks
Remo


This is undoubtedly an NTFS file permissions issue. You can use the AccessControl plugin to add permissions to a file/directory. By the way, you can examine the current file permissions by first disabling Simplified Sharing in explorer's folder options, and then opening the file's properties (rightclick, properties). It's under the Security tab.