mirror of
https://github.com/oven-sh/bun
synced 2026-02-12 11:59:00 +00:00
Don't chmod UNIX sockets to 700 (#16200)
This commit is contained in:
@@ -843,13 +843,6 @@ static LIBUS_SOCKET_DESCRIPTOR internal_bsd_create_listen_socket_unix(const char
|
||||
return LIBUS_SOCKET_ERROR;
|
||||
}
|
||||
|
||||
#ifndef _WIN32
|
||||
// 700 permission by default
|
||||
fchmod(listenFd, S_IRWXU);
|
||||
#else
|
||||
_chmod(path, S_IREAD | S_IWRITE | S_IEXEC);
|
||||
#endif
|
||||
|
||||
#ifdef _WIN32
|
||||
_unlink(path);
|
||||
#else
|
||||
|
||||
Reference in New Issue
Block a user