print_service、cupsd、scan_service加入usb_host群组 Signed-off-by:liuhaosu@huawei.com

Signed-off-by: 刘昊苏 <liuhaosu@huawei.com>
This commit is contained in:
刘昊苏 2024-10-17 21:00:54 +08:00
parent 43461abc0a
commit 0bf192f5f8
3 changed files with 3 additions and 3 deletions

View File

@ -17,7 +17,7 @@
"name" : "cupsd",
"path" : ["/system/bin/cupsd", "-f", "-c", "/etc/cups/cupsd.conf", "-s", "/etc/cups/cups-files.conf"],
"uid" : "print",
"gid" : ["print", "cups"],
"gid" : ["print", "cups", "usb_host"],
"secon" : "u:r:cupsd:s0",
"once" : 1,
"start-mode" : "condition",

View File

@ -30,7 +30,7 @@
"path" : ["/system/bin/sa_main", "/system/profile/print_service.json"],
"ondemand" : true,
"uid" : "print",
"gid" : ["print", "shell"],
"gid" : ["print", "shell", "usb_host"],
"secon" : "u:r:print_service:s0",
"permission" : [
"ohos.permission.REPORT_SECURITY_EVENT",

View File

@ -4,7 +4,7 @@
"path" : ["/system/bin/sa_main", "/system/profile/scan_service.json"],
"ondemand" : true,
"uid" : "print",
"gid" : ["print", "shell"],
"gid" : ["print", "shell", "usb_host"],
"secon" : "u:r:scan_service:s0",
"permission" : [
"ohos.permission.MANAGE_USB_CONFIG",