Skip to content

Commit fe0ccd1

Browse files
Rem01Gamingbackslashxx
authored andcommitted
templates/shizuku.root: Fix shizuku service unable to run properly (tiann#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 <[email protected]>
1 parent c68b4be commit fe0ccd1

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

website/docs/public/templates/shizuku.root

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,16 @@
11
{
22
"id":"shizuku.root",
33
"name":"Shizuku Service",
4-
"author":"JohnRTitor",
4+
"author":"Rem01Gaming & JohnRTitor",
55
"description":"Only essential permissions to start Shizuku service.",
66
"uid":0,
77
"gid":0,
88
"groups":[
99
"SHELL"
1010
],
1111
"capabilities":[
12-
"CAP_DAC_READ_SEARCH"
12+
"CAP_DAC_OVERRIDE",
13+
"CAP_CHOWN"
1314
],
1415
"context":"u:r:su:s0",
1516
"namespace":"INHERITED",

0 commit comments

Comments
 (0)