From 6826fbdd740ad3a7f483d62a715920eea176604b Mon Sep 17 00:00:00 2001 From: Bernd Lörwald Date: Sat, 13 Dec 2014 12:29:54 +0100 Subject: tools/connection_patcher: add executable permissions to binary to avoid the rare case where permissions of replaced file are ignored --- src/tools/connection_patcher/Program.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/tools/connection_patcher/Program.cpp') diff --git a/src/tools/connection_patcher/Program.cpp b/src/tools/connection_patcher/Program.cpp index 56007232d20..fe86936a95e 100644 --- a/src/tools/connection_patcher/Program.cpp +++ b/src/tools/connection_patcher/Program.cpp @@ -194,6 +194,11 @@ int main(int argc, char** argv) do_patches (&patcher, renamed_binary_path); + { + namespace fs = boost::filesystem; + fs::permissions(renamed_binary_path, fs::add_perms | fs::others_exe | fs::group_exe | fs::owner_exe); + } + do_module ( "97eeb2e28e9e56ed6a22d09f44e2ff43c93315e006bbad43bafc0defaa6f50ae.auth" , "/Users/Shared/Blizzard/Battle.net/Cache/" -- cgit v1.2.3