|
@@ -648,7 +648,7 @@ void log_message(const char *format, ...);
|
|
|
* @return 文件描述符
|
|
|
*/
|
|
|
int open_proxy_file(int flags) {
|
|
|
- int fd = open(PROXY_FILE, flags);
|
|
|
+ int fd = open(PROXY_FILE, flags, 0644);
|
|
|
if (fd < 0) {
|
|
|
log_message("无法打开代理文件: %s", strerror(errno));
|
|
|
return -1;
|