summaryrefslogtreecommitdiffstats
path: root/fixPermissions.cpp
diff options
context:
space:
mode:
authorDees_Troy <dees_troy@teamw.in>2012-10-10 16:26:54 +0200
committerDees_Troy <dees_troy@teamw.in>2012-10-10 16:27:17 +0200
commit6480ce0f2a95e966192294eb066095acfd3ccd16 (patch)
treed7c6b7d567b0d5c017ee8baaa36147c9ae6b8f79 /fixPermissions.cpp
parentredo fix permissions in c++ for faster changes (diff)
downloadandroid_bootable_recovery-6480ce0f2a95e966192294eb066095acfd3ccd16.tar
android_bootable_recovery-6480ce0f2a95e966192294eb066095acfd3ccd16.tar.gz
android_bootable_recovery-6480ce0f2a95e966192294eb066095acfd3ccd16.tar.bz2
android_bootable_recovery-6480ce0f2a95e966192294eb066095acfd3ccd16.tar.lz
android_bootable_recovery-6480ce0f2a95e966192294eb066095acfd3ccd16.tar.xz
android_bootable_recovery-6480ce0f2a95e966192294eb066095acfd3ccd16.tar.zst
android_bootable_recovery-6480ce0f2a95e966192294eb066095acfd3ccd16.zip
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;
}
}