Score:0

Permission denied for genesis.json file

jp flag

I am having an issue with the persmission of the genesis.json file. I tried to fix it with chmod, but it sadly didnt help. Anyone knows how to fix this issue?

enter image description here Also same issue for my config.toml: enter image description here

enter image description here

Thanks in advance

I am following a tutorial from this site btw: https://docs.binance.org/smart-chain/developer/fullnode.html

Tilman avatar
cn flag
Please include console input and output as text, not as images. An image makes it impossible to copy and paste from it and is also often difficult to read.
cn flag
Please stop using root. and stop using sudo when using root.
user3201911 avatar
jp flag
I understand that i should use sudo with root, because its double. But why shouldnt i use root?
Score:0
cn flag

According to the command line documentation for geth at https://geth.ethereum.org/docs/interface/command-line-options, the --datadir option to geth accepts a single argument which specifies the data directory for the databases and keystore. So your command line asks geth to use the data directory node which probably doesn't exist.

By the way, your screenshots show that you are working as root. You shouldn't. And if you do, you don't need sudo on top of it.

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.