diff --git a/sepolicy/ohos_policy/filemanagement/storage_service/system/storage_daemon.te b/sepolicy/ohos_policy/filemanagement/storage_service/system/storage_daemon.te index 8aa82791ab5c116b4a7338382a8682472759ad88..6566400cc928376826557c13834a5e839228e093 100644 --- a/sepolicy/ohos_policy/filemanagement/storage_service/system/storage_daemon.te +++ b/sepolicy/ohos_policy/filemanagement/storage_service/system/storage_daemon.te @@ -506,3 +506,9 @@ allow storage_daemon hap_file_attr:lnk_file { getattr read rename unlink }; allow storage_daemon hap_file_attr:fifo_file { getattr read rename unlink }; allow storage_daemon hap_file_attr:sock_file { getattr read rename unlink }; +allow storage_daemon data_service_file:dir { ioctl getattr read open }; +allow storage_daemon media_rw_data_file:dir { ioctl getattr read open }; +allowxperm storage_daemon data_service_file:dir ioctl { 0x6613 }; +allowxperm storage_daemon media_rw_data_file:dir ioctl { 0x6613 }; +allowxperm storage_daemon media_rw_data_file:dir ioctl { 0xf550 }; +allowxperm storage_daemon data_service_file:dir ioctl { 0xf550 };