fix:authorty clear

Feature or Bugfix:Bugfix
Binary Source: No

Signed-off-by: liveery <liangming712@huawei.com>
This commit is contained in:
liveery 2024-06-04 01:33:03 +00:00
parent 3e99b7923c
commit bab1301bf3
2 changed files with 2 additions and 2 deletions

View File

@ -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);
}

View File

@ -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