diff options
Diffstat (limited to 'app-arch/torrentzip/files/fix-perms.patch')
-rw-r--r-- | app-arch/torrentzip/files/fix-perms.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/app-arch/torrentzip/files/fix-perms.patch b/app-arch/torrentzip/files/fix-perms.patch new file mode 100644 index 000000000000..ea013663443f --- /dev/null +++ b/app-arch/torrentzip/files/fix-perms.patch @@ -0,0 +1,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) |