diff options
author | osm0sis <osm0sis@outlook.com> | 2018-07-13 01:27:54 -0300 |
---|---|---|
committer | osm0sis <osm0sis@outlook.com> | 2018-07-13 01:27:54 -0300 |
commit | c545e6779e87c180fd9824154f0580e937313aed (patch) | |
tree | 05c31e37500ac04fc06ae20fd5be8a101589cc97 /anykernel.sh | |
parent | 23a088f4c890c6e7b5925e0e01a8c7fc1ad4c819 (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-x | anykernel.sh | 1 |
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/*; |