summaryrefslogtreecommitdiff
path: root/anykernel.sh
diff options
context:
space:
mode:
authorosm0sis <osm0sis@outlook.com>2018-07-13 01:27:54 -0300
committerosm0sis <osm0sis@outlook.com>2018-07-13 01:27:54 -0300
commitc545e6779e87c180fd9824154f0580e937313aed (patch)
tree05c31e37500ac04fc06ae20fd5be8a101589cc97 /anykernel.sh
parent23a088f4c890c6e7b5925e0e01a8c7fc1ad4c819 (diff)
anykernel: fix ramdisk/sbin permissions
- while stock uses 750, Magisk and SuperSU both use 755 for sbin and contained binaries, so we had better do so as well
Diffstat (limited to 'anykernel.sh')
-rwxr-xr-xanykernel.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/anykernel.sh b/anykernel.sh
index 16ffc7d..91c3c39 100755
--- a/anykernel.sh
+++ b/anykernel.sh
@@ -30,6 +30,7 @@ ramdisk_compression=auto;
## AnyKernel file attributes
# set permissions/ownership for included ramdisk files
chmod -R 750 $ramdisk/*;
+chmod -R 755 $ramdisk/sbin;
chown -R root:root $ramdisk/*;