From a51f7e272d864a3af925f4821e53052dced830dd Mon Sep 17 00:00:00 2001 From: Rem01Gaming Date: Thu, 26 Dec 2024 22:11:05 +0700 Subject: [PATCH] templates/shizuku.root: Fix shizuku service unable to run properly (#2319) ## Shizuku needs DAC_OVERRIDE and CHOWN capabilities to work properly previous settings only grant `DAC_READ_SEARCH` causing Shizuku unable to chown service executable and making it unable to work properly. `DAC_OVERRIDE` capability added to allow Shizuku to execute it's service after chown. --- ### Before Fix ![IMG_20241226_210507_769](https://github.com/user-attachments/assets/cea7329c-e393-4d8b-88cf-83be086971e5) --- ### After Fix ![IMG_20241226_211118_445](https://github.com/user-attachments/assets/e12a7aa8-2ee6-4bea-baca-47b99a4f8a44) Signed-off-by: Rem01Gaming --- website/docs/public/templates/shizuku.root | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/website/docs/public/templates/shizuku.root b/website/docs/public/templates/shizuku.root index 92d17acc6002..b07efeefdec2 100644 --- a/website/docs/public/templates/shizuku.root +++ b/website/docs/public/templates/shizuku.root @@ -1,7 +1,7 @@ { "id":"shizuku.root", "name":"Shizuku Service", - "author":"JohnRTitor", + "author":"Rem01Gaming & JohnRTitor", "description":"Only essential permissions to start Shizuku service.", "uid":0, "gid":0, @@ -9,7 +9,8 @@ "SHELL" ], "capabilities":[ - "CAP_DAC_READ_SEARCH" + "CAP_DAC_OVERRIDE", + "CAP_CHOWN" ], "context":"u:r:su:s0", "namespace":"INHERITED",