!151 时间服务,system权限降级

Merge pull request !151 from zhangjunxi/OpenHarmony-3.2-Beta1
This commit is contained in:
openharmony_ci
2022-05-26 14:04:21 +00:00
committed by Gitee
+2 -2
View File
@@ -2,8 +2,8 @@
"services" : [{
"name" : "time_service",
"path" : ["/system/bin/sa_main", "/system/profile/time_service.xml"],
"uid" : "system",
"gid" : ["system", "shell"],
"uid" : "time",
"gid" : ["time", "shell"],
"caps" : ["SYS_TIME", "WAKE_ALARM"],
"secon" : "u:r:time_service:s0"
}