We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 82f1404 commit 53b2f4bCopy full SHA for 53b2f4b
2 files changed
.bleep
@@ -1 +1 @@
1
-b61399dc39ae098b9245b51884649cde58344e5f
+7aeb492bfa03e2b121b87788e43d755a758c06fb
pingora-core/src/server/transfer_fd/mod.rs
@@ -129,11 +129,11 @@ where
129
};
130
socket::bind(listen_fd, &unix_addr).unwrap();
131
132
- /* sock is created before we change user, need to give permission to all */
+ /* sock is created before we change user, need to give permission */
133
stat::fchmodat(
134
None,
135
path,
136
- stat::Mode::all(),
+ stat::Mode::from_bits_truncate(0o666),
137
stat::FchmodatFlags::FollowSymlink,
138
)
139
.unwrap();
0 commit comments