# Copyright (c) 2021 Huawei Device Co., Ltd. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # default forbid other user to start service ohos.servicectrl. = system:servicectrl:0775 ohos.servicectrl.reboot. = system:powerctrl:0775 ohos.boot. = system:bootctrl:0775 bootevent. = root:root:0777 startup.service.ctl. = system:servicectrl:0775:int startup.device. = system:powerctrl:0775 const.debuggable = root:root:0755 const.build. = root:root:0775 const.SystemCapability. = root:root:0775 const.product. = root:root:0775 persist.init. = root:root:0775 startup.appspawn. = root:root:0750 startup.uevent. = ueventd:ueventd:0775 persist.init.debug. = root:root:0775:int persist.init.bootevent.enable = root:root:0775:bool persist.appspawn. = root:root:0775 persist.xts.devattest. = device_attest:device_attest:0775 #udid and sn, only read ohos.boot.sn = root:deviceprivate:0750 const.product.udid = root:deviceprivate:0750 const.actionable_compatible_property.enabled = root:root:0777 const.postinstall.fstab.prefix = root:root:0777 const.secure = root:root:0777 security.perf_harden = root:root:0777 const.allow.mock.location = root:root:0777 persist.sys.usb.config = root:root:0777 #permission for system persist.window.boot. = root:system:0775 #permission for log debug.bytrace. = root:system:0775 persist.distributed_hardware.device_manager. = system:system:0775