You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/app-arch/torrentzip/files/fix-perms.patch

12 lines
335 B

--- 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)