From 6cd206d33133da15a0cbd7b64abbcf8af274f74b Mon Sep 17 00:00:00 2001 From: Luke Dashjr Date: Sat, 11 May 2024 15:54:24 +0000 Subject: [PATCH] RPC: Delete cookie file before replacing it Unclear if this is the best thing to do, but due to v26.1.knots20240325 creating it read-only, it is somewhat necessary for now --- src/rpc/request.cpp | 5 +++++ test/functional/rpc_users.py | 12 ++++++++++++ 2 files changed, 17 insertions(+) diff --git a/src/rpc/request.cpp b/src/rpc/request.cpp index bf2a156bdc..1f3397f633 100644 --- a/src/rpc/request.cpp +++ b/src/rpc/request.cpp @@ -106,6 +106,11 @@ bool GenerateAuthCookie(std::string* cookie_out, const std::pair