Explorar o código

Give execute permissions, otherwise p3dcert won't run here

rdb %!s(int64=16) %!d(string=hai) anos
pai
achega
b6de452a12
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  1. 3 1
      direct/src/plugin/p3dMultifileReader.cxx

+ 3 - 1
direct/src/plugin/p3dMultifileReader.cxx

@@ -135,7 +135,9 @@ extract_all(const string &to_dir,
     utb.actime = time(NULL);
     utb.actime = time(NULL);
     utb.modtime = s._timestamp;
     utb.modtime = s._timestamp;
     utime(output_pathname.c_str(), &utb);
     utime(output_pathname.c_str(), &utb);
-
+#ifndef _WIN32
+    chmod(output_pathname.c_str(), 0555);
+#endif
 
 
     ++num_processed;
     ++num_processed;
     if (package != NULL) {
     if (package != NULL) {