Skip to content

Commit 11ba24a

Browse files
Apply owner permissions on the scoped storage folder during install
This maybe fixes the issues regarding unreadable Kernel and DDC folders on some devices.
1 parent 8b23c52 commit 11ba24a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

magiskmodule/customize.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@ VIPERFXSHAREDPREFS="$VIPERFXPREFS"/shared_prefs
109109
[ ! -d "$VIPERFXSHAREDPREFS" ] && mkdir "$VIPERFXSHAREDPREFS"
110110
cp -f "$MODPATH"/viperfx_preferences.xml "$VIPERFXSHAREDPREFS"/"${VIPERFXPACKAGE}_preferences.xml"
111111
chown -R $VIPERFXPREFSOWNER:$VIPERFXPREFSOWNER "$VIPERFXPREFS"
112+
chown -R $VIPERFXPREFSOWNER "$FOLDER"
112113

113114
ui_print "- Setting Permissions"
114115
set_perm_recursive "$MODPATH" 0 0 0755 0644

0 commit comments

Comments
 (0)