mirror of
https://gitee.com/openharmony/startup_init
synced 2024-11-23 16:20:00 +00:00
fix:authorty clear
Feature or Bugfix:Bugfix Binary Source: No Signed-off-by: liveery <liangming712@huawei.com>
This commit is contained in:
parent
3e99b7923c
commit
bab1301bf3
@ -79,7 +79,7 @@ static int FdHolderSockInit(void)
|
||||
if (lchown(addr.sun_path, 0, 0)) {
|
||||
INIT_LOGW("Failed to change owner of fd holder socket, err = %d", errno);
|
||||
}
|
||||
mode_t mode = S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH | S_IWOTH;
|
||||
mode_t mode = S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP;
|
||||
if (fchmodat(AT_FDCWD, addr.sun_path, mode, AT_SYMLINK_NOFOLLOW)) {
|
||||
INIT_LOGW("Failed to change mode of fd holder socket, err = %d", errno);
|
||||
}
|
||||
|
@ -34,7 +34,7 @@
|
||||
/dev/mmz_userdev 0644 1000 1005
|
||||
/dev/graphics/fb0 0660 1000 1003
|
||||
/dev/mem 0660 1000 1005
|
||||
/dev/ion 0666 1000 1000
|
||||
/dev/ion 0664 1000 1000
|
||||
/dev/btusb0 0660 1002 1002
|
||||
/dev/uhid 0660 3011 3011
|
||||
/dev/tc_ns_client 0660 1000 1005
|
||||
|
Loading…
Reference in New Issue
Block a user