summaryrefslogtreecommitdiff
blob: ea013663443f709e91719201a79e8ccc0589132a (plain)
1
2
3
4
5
6
7
8
9
10
11
--- src/trrntzip.c
+++ src/trrntzip.c
@@ -782,7 +782,7 @@

           if (strstr (szTmpBuf, ".zip\0") && !(istat.st_mode & S_IWUSR))
           {            
-            chmod (direntp->d_name, S_IWUSR);
+            chmod (direntp->d_name, S_IWUSR | S_IRUSR);
             mig.cEncounteredZips++;

             if (!mig.fProcessLog)