diff --git a/direct/src/plugin/p3dDownload.cxx b/direct/src/plugin/p3dDownload.cxx index 394a4ad74f..293f26cbe7 100755 --- a/direct/src/plugin/p3dDownload.cxx +++ b/direct/src/plugin/p3dDownload.cxx @@ -168,7 +168,8 @@ download_progress() { if (now - _last_reported_time > 10) { _last_reported_time = now; nout << "Downloading " << get_url() << ": " - << int(get_download_progress() * 1000.0) / 10.0 << "\n"; + << int(get_download_progress() * 1000.0) / 10.0 + << ", " << this << "\n"; } } @@ -184,5 +185,5 @@ void P3DDownload:: download_finished(bool success) { nout << "Downloaded " << get_url() << ": " << int(get_download_progress() * 1000.0) / 10.0 - << ", success = " << success << "\n"; + << ", " << this << ", success = " << success << "\n"; } diff --git a/direct/src/plugin/p3dPackage.cxx b/direct/src/plugin/p3dPackage.cxx index a2ad12084c..6aad3701e5 100755 --- a/direct/src/plugin/p3dPackage.cxx +++ b/direct/src/plugin/p3dPackage.cxx @@ -698,6 +698,9 @@ got_desc_file(TiXmlDocument *doc, bool freshly_downloaded) { nout << "File is incorrect: " << (*ei).get_filename() << "\n"; all_extracts_ok = false; } + + // Make sure all extracts are still marked executable. + chmod((*ei).get_pathname(_package_dir).c_str(), 0555); } if (all_extracts_ok) {