mirror of
https://gitee.com/openharmony/print_print_fwk
synced 2024-11-23 00:50:01 +00:00
print_service、cupsd、scan_service加入usb_host群组 Signed-off-by:liuhaosu@huawei.com
Signed-off-by: 刘昊苏 <liuhaosu@huawei.com>
This commit is contained in:
parent
43461abc0a
commit
0bf192f5f8
@ -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",
|
||||
|
@ -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",
|
||||
|
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user