When I run this command:
geth --datadir “/home/user/privatechain/data” init “/home/user/privatechain/”
I get error:
Fatal: Failed to read genesis file: open “/home/user/privatechain/”: no such file or directory
But the file exists there:
pwd
/home/user/privatechain
user@user:~/privatechain$ ls
custom_genesis.json data