summaryrefslogtreecommitdiffstats
path: root/fixPermissions.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'fixPermissions.cpp')
-rw-r--r--fixPermissions.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/fixPermissions.cpp b/fixPermissions.cpp
index d12dc1a5f..5587c0b1c 100644
--- a/fixPermissions.cpp
+++ b/fixPermissions.cpp
@@ -157,9 +157,9 @@ int fixPermissions::pchmod(string fn, string mode) {
mask |= S_IXOTH;
}
if (mode[n] == '2')
- mask |= S_IWGRP;
+ mask |= S_IWOTH;
if (mode[n] == '1')
- mask |= S_IXGRP;
+ mask |= S_IXOTH;
}
}