mirror of
https://github.com/ayasa520/redroid-script.git
synced 2026-11-26 06:35:21 +08:00
change rc permission to 644
This commit is contained in:
1 parent
b8469bed52
commit
dd9cd6c3a4
4 files changed
+9
-6
No files matched your search
+2
-1
@@ -62,4 +62,5 @@ on property:ro.enable.native.bridge.exec=1
|
||||
if not os.path.isfile(init_path):
|
||||
os.makedirs(os.path.dirname(init_path), exist_ok=True)
|
||||
with open(init_path, "w") as initfile:
|
||||
initfile.write(self.init_rc_component)
|
||||
initfile.write(self.init_rc_component)
|
||||
os.chmod(init_path, 0o644)
|
||||
Reference in new issue
Block a user