From 73f0a6cbd0b628675028fbd5a37eff8115e7ccfe Mon Sep 17 00:00:00 2001 From: willcl-ark Date: Mon, 22 Apr 2024 12:24:09 +0100 Subject: [PATCH] doc: detail -rpccookieperms option Co-authored-by: tdb3 <106488469+tdb3@users.noreply.github.com> --- doc/init.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/doc/init.md b/doc/init.md index 7f79027718..d0b73593c0 100644 --- a/doc/init.md +++ b/doc/init.md @@ -35,8 +35,10 @@ it will use a special cookie file for authentication. The cookie is generated wi content when the daemon starts, and deleted when it exits. Read access to this file controls who can access it through RPC. -By default the cookie is stored in the data directory, but it's location can be overridden -with the option '-rpccookiefile'. +By default the cookie is stored in the data directory, but its location can be +overridden with the option `-rpccookiefile`. Default file permissions for the +cookie are "owner" (i.e. user read/writeable) via default application-wide file +umask of `0077`, but these can be overridden with the `-rpccookieperms` option. This allows for running bitcoind without having to do any manual configuration.