From 3e0b843bbd85ae1cc560c7f981a1e1ee4c43cda0 Mon Sep 17 00:00:00 2001 From: aphralG <108004222+aphralG@users.noreply.github.com> Date: Mon, 25 Mar 2024 16:57:41 +0000 Subject: [PATCH] fix metrics (#598) --- src/core/os.go | 2 +- .../integration/vendor/github.com/nginx/agent/v2/src/core/os.go | 2 +- .../performance/vendor/github.com/nginx/agent/v2/src/core/os.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/core/os.go b/src/core/os.go index 65f91a0e0..e1f95cf32 100644 --- a/src/core/os.go +++ b/src/core/os.go @@ -50,7 +50,7 @@ func EnableWritePermissionForSocket(path string) error { case <-timeout: return lastError default: - lastError = os.Chmod(path, 0o600) + lastError = os.Chmod(path, 0o660) if lastError == nil { return nil } diff --git a/test/integration/vendor/github.com/nginx/agent/v2/src/core/os.go b/test/integration/vendor/github.com/nginx/agent/v2/src/core/os.go index 65f91a0e0..e1f95cf32 100644 --- a/test/integration/vendor/github.com/nginx/agent/v2/src/core/os.go +++ b/test/integration/vendor/github.com/nginx/agent/v2/src/core/os.go @@ -50,7 +50,7 @@ func EnableWritePermissionForSocket(path string) error { case <-timeout: return lastError default: - lastError = os.Chmod(path, 0o600) + lastError = os.Chmod(path, 0o660) if lastError == nil { return nil } diff --git a/test/performance/vendor/github.com/nginx/agent/v2/src/core/os.go b/test/performance/vendor/github.com/nginx/agent/v2/src/core/os.go index 65f91a0e0..e1f95cf32 100644 --- a/test/performance/vendor/github.com/nginx/agent/v2/src/core/os.go +++ b/test/performance/vendor/github.com/nginx/agent/v2/src/core/os.go @@ -50,7 +50,7 @@ func EnableWritePermissionForSocket(path string) error { case <-timeout: return lastError default: - lastError = os.Chmod(path, 0o600) + lastError = os.Chmod(path, 0o660) if lastError == nil { return nil }