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  --- ### After Fix  Signed-off-by: Rem01Gaming <Rem01_Gaming@proton.me>
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user