Skip to content

How to set permission mode on unix socket in --rpclisten= #7521

Answered by guggero
dpc asked this question in Q&A
Discussion options

You must be logged in to vote

It sounds like we would need to add such a flag as well and call os.Chmod() explicitly after creating the socket: golang/go#11822

As a workaround you could use lndinit wait-ready and then chmod the socket yourself:

lndinit wait-ready && chmod 777 /var/lib/lnd/rpc

Can you create a feature request for the --rpc-file-mode equivalent flag please?

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by dpc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants