• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright (c) 2021 Huawei Device Co., Ltd.
2# Licensed under the Apache License, Version 2.0 (the "License");
3# you may not use this file except in compliance with the License.
4# You may obtain a copy of the License at
5#
6#     http://www.apache.org/licenses/LICENSE-2.0
7#
8# Unless required by applicable law or agreed to in writing, software
9# distributed under the License is distributed on an "AS IS" BASIS,
10# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11# See the License for the specific language governing permissions and
12# limitations under the License.
13
14# default forbid other user to start service
15ohos.servicectrl.           = system:servicectrl:0775
16ohos.servicectrl.reboot.    = system:powerctrl:0775
17ohos.boot.                  = system:bootctrl:0775
18bootevent.                  = root:root:0777
19startup.service.ctl.        = system:servicectrl:0775:int
20startup.device.             = system:powerctrl:0775
21
22const.debuggable            = root:root:0755
23const.build.                = root:root:0775
24const.SystemCapability.     = root:root:0775
25const.product.              = root:root:0775
26persist.init.               = root:root:0775
27startup.appspawn.           = root:root:0750
28startup.uevent.             = ueventd:ueventd:0775
29
30persist.init.debug.         = root:root:0775:int
31persist.init.bootevent.enable         = root:root:0775:bool
32persist.appspawn.           = root:root:0775
33persist.xts.devattest.      = device_attest:device_attest:0775
34
35#udid and sn, only read
36ohos.boot.sn                = root:deviceprivate:0750
37const.product.udid          = root:deviceprivate:0750
38
39const.actionable_compatible_property.enabled = root:root:0777
40const.postinstall.fstab.prefix = root:root:0777
41const.secure = root:root:0777
42security.perf_harden  = root:root:0777
43const.allow.mock.location   = root:root:0777
44persist.sys.usb.config  = root:root:0777
45
46#permission for system
47persist.window.boot. = root:system:0775
48#permission for log
49debug.bytrace.   = root:system:0775
50persist.distributed_hardware.device_manager. = system:system:0775
51