change rc permission to 644

This commit is contained in:
Rikka committed 2023-04-11 15:14:42 +08:00
1 parent b8469bed52
commit dd9cd6c3a4
4 files changed
+9 -6

No files matched your search

+2 -1
View File
@@ -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)