From de7ce9a37724af89b24f52582ae8b34637c39414 Mon Sep 17 00:00:00 2001 From: wangchaole Date: Wed, 18 May 2022 14:40:06 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9uid=E5=92=8Cgid?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: wangchaole --- sa_profile/dcamera.cfg | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/sa_profile/dcamera.cfg b/sa_profile/dcamera.cfg index bce39532..4ae47150 100644 --- a/sa_profile/dcamera.cfg +++ b/sa_profile/dcamera.cfg @@ -2,8 +2,9 @@ "services" : [{ "name" : "dcamera", "path" : ["/system/bin/sa_main","/system/profile/dcamera.xml"], - "uid" : "system", - "gid" : ["system"], + "uid" : "dcamera", + "gid" : ["dcamera"], + "caps" : ["DAC_OVERRIDE","DAC_READ_SEARCH"], "ondemand" : true, "secon" : "u:r:dcamera:s0" }] -- Gitee