diff --git a/device/etc/hiprofiler.para.dac b/device/etc/hiprofiler.para.dac index 0ad03b4dc..be6217e6a 100644 --- a/device/etc/hiprofiler.para.dac +++ b/device/etc/hiprofiler.para.dac @@ -11,5 +11,5 @@ # See the License for the specific language governing permissions and # limitations under the License. -hiviewdfx.hiprofiler.=hiprofiler:shell:0775 +hiviewdfx.hiprofiler.=hiprofiler:shell:0777 libc.hook_mode.=root:shell:0775 diff --git a/device/etc/hiprofiler_daemon.cfg b/device/etc/hiprofiler_daemon.cfg index 61102bf73..3a7476b7c 100644 --- a/device/etc/hiprofiler_daemon.cfg +++ b/device/etc/hiprofiler_daemon.cfg @@ -6,7 +6,7 @@ "caps" : ["CAP_KILL", "CAP_SYS_PTRACE"], "once" : 1, "uid" : "hiprofiler", - "gid" : ["shell", "readproc"], + "gid" : ["shell", "readproc", "system"], "socket" : [{ "name" : "hook_unix_socket", "family" : "AF_UNIX", @@ -25,7 +25,7 @@ "caps" : ["CAP_KILL", "CAP_SYS_PTRACE"], "once" : 1, "uid" : "hiprofiler", - "gid" : ["shell", "readproc"], + "gid" : ["shell", "readproc", "system"], "socket" : [{ "name" : "hook_unix_socket", "family" : "AF_UNIX",