diff options
Diffstat (limited to 'lldb/source/Target/Target.cpp')
-rw-r--r-- | lldb/source/Target/Target.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lldb/source/Target/Target.cpp b/lldb/source/Target/Target.cpp index 02eab6b36c9..c643c0158f5 100644 --- a/lldb/source/Target/Target.cpp +++ b/lldb/source/Target/Target.cpp @@ -2378,6 +2378,7 @@ Target::Install (ProcessLaunchInfo *launch_info) module_sp->SetPlatformFileSpec(remote_file); if (is_main_executable) { + platform_sp->SetFilePermissions(remote_file.GetPath(false).c_str(), 0700); if (launch_info) launch_info->SetExecutableFile(remote_file, false); } |