Jump to content
  • Advertisement
Sign in to follow this  

Project Building executable directory permissions.

This topic is 582 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts


Well I don't know if this has changed. It is a very important topic if you are not looking at your projects carefully. I need absolute control of a /bin directory to give 777 permissions on Windows 10 Home with VS2015 Community. I had the command internally documented and now cannot referecne this on the net.


Can anyone just give me the Developer's prompt one that sets the current build users permission to allow to write for all to the selected directory. In my case /bin.


Any help would be greatly appreciated-


-- Install configuration: "Debug"
2>  CMake Error at cmake_install.cmake:31 (file):
2>    file cannot create directory: C:/Program Files (x86)/GameEngine/bin.  Maybe
2>    need administrative privileges.




Chris Russo

Share this post

Link to post
Share on other sites
Program Files always needs admin privileges. Do not ever modify the rights in that folder, nothing good comes from this.

If this is for a setup, you need to add a proper manifest with RequireAdminPrivileges to the setup executable.
If this is not for a setup, it's wrong. Program Files should be treated as read only once the program is installed.

If you need to to save dynamic data, use the intended places like the users app data folder.

Share this post

Link to post
Share on other sites
Sign in to follow this  

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!