Bitcoin Forum

Bitcoin => Development & Technical Discussion => Topic started by: ripplexn8 on March 12, 2018, 09:47:07 PM



Title: Unable To Locate .conf file in Ubuntu
Post by: ripplexn8 on March 12, 2018, 09:47:07 PM
I'm following this tutorial
Code:
https://www.youtube.com/watch?v=mDGxGYvkDEE

I managed to make it this far..

https://s9.postimg.org/q1vaxbsvj/error_message.png

I get that error: To use funcoind, you must set a rpcpassword in the configuration file:
/home/ubuntu/.funcoin/funcoin.conf


So I go and try to locate the funcoin.conf file but I can't locate it:

https://s9.postimg.org/qso12r0a7/image.jpg

https://s9.postimg.org/ahnx6fvi7/image.jpg

Any help would be appreciated


Title: Re: Unable To Locate .conf file in Ubuntu
Post by: HCP on March 13, 2018, 04:03:44 AM
Did you not see the part that says: "If the file does not exist, create it with owner-readable-only file permissions"? ???

Simply create the text file in the ~/.funcoin directory using vi or vim or whatever texteditor you use... save/name it as funcoin.conf... make sure it is all configured as you want, then "chmod" it to have the appropriate permissions.
Code:
chmod u=r ~/.funcoin/funcoin.conf

Note: to be able to modify the file, you'd need to set it as:
Code:
chmod u=rw ~/.funcoin/funcoin.conf


Title: Re: Unable To Locate .conf file in Ubuntu
Post by: ripplexn8 on March 16, 2018, 05:36:07 PM
Did you not see the part that says: "If the file does not exist, create it with owner-readable-only file permissions"? ???

Simply create the text file in the ~/.funcoin directory using vi or vim or whatever texteditor you use... save/name it as funcoin.conf... make sure it is all configured as you want, then "chmod" it to have the appropriate permissions.
Code:
chmod u=r ~/.funcoin/funcoin.conf

Note: to be able to modify the file, you'd need to set it as:
Code:
chmod u=rw ~/.funcoin/funcoin.conf

I must've missed that, thanks man!