diff --git a/sepolicy/ohos_policy/hiviewdfx/hiview/system/hiview.te b/sepolicy/ohos_policy/hiviewdfx/hiview/system/hiview.te index b9fdf17cc8bad500df9fa9e7e0ae5ff768cd556b..9c27ee28e0a1839cee058298735d696bae908897 100644 --- a/sepolicy/ohos_policy/hiviewdfx/hiview/system/hiview.te +++ b/sepolicy/ohos_policy/hiviewdfx/hiview/system/hiview.te @@ -35,7 +35,7 @@ allow hiview hiview_file:file { getattr setattr append ioctl unlink map read wri allow hiview data_file:dir { search }; allow hiview data_log:dir { add_name open read search watch write create remove_name }; -allow hiview data_log:file { create getattr lock map open read write unlink }; +allow hiview data_log:file { create getattr lock map open read write unlink rename }; allow hiview data_system:dir { search getattr }; allow hiview system_etc_file:dir { open read }; allow hiview system_bin_file:dir { search };