From 4c895cfb21d4a494330106b2e3e9939ac87b1128 Mon Sep 17 00:00:00 2001 From: oliverpool Date: Sat, 19 Aug 2023 20:26:10 +0200 Subject: [PATCH] better perm --- main_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main_test.go b/main_test.go index b0b39ff..f3c8255 100644 --- a/main_test.go +++ b/main_test.go @@ -78,7 +78,7 @@ func TestRun(t *testing.T) { t.Error(msg) return } - err = os.WriteFile("dns.txt", []byte(body.Target), 0x777) + err = os.WriteFile("dns.txt", []byte(body.Target), 0x644) if err != nil { msg := fmt.Sprintf("could write dns.txt: %v", err) http.Error(w, msg, http.StatusInternalServerError)