Author

Topic: Ubuntu 20.04 Bitcoin-Core Snap: Permission for external disk (Read 213 times)

legendary
Activity: 2870
Merit: 7490
Crypto Swap Exchange
This is the official core-client from the official ubuntu repository.
So there should be no security issue!?

There are 2 PPA repository for Bitcoin Core on launchpad, but IIRC neither are official and managed by one of Bitcoin Core developer.
https://launchpad.net/~bitcoin/+archive/ubuntu/bitcoin is probably what you mentioned, but it's very outdated. If you want to install Bitcoin Core from PPA and can trust the developer, please install from https://launchpad.net/~luke-jr/+archive/ubuntu/bitcoincore instead.

BTW: The snap-application is also shown as an option on bitcoin.org!!

Probably for convenience for those who use linux distro for first time
member
Activity: 122
Merit: 16
This is the official core-client from the official ubuntu repository.
So there should be no security issue!?

Since my problem from the first post seem to be unsolveable, i'm forced to use the tgz-packed client anyway.

BTW: The snap-application is also shown as an option on bitcoin.org!!
legendary
Activity: 3682
Merit: 1580
why are you using a third party snap? it's unsafe. you should download bitcoin core from bitcoincore.org. untar that download and run bitcoin-qt from the bin directory. it's very easy.
member
Activity: 122
Merit: 16
I've never used "snap" (and until today didn't know it exists), so as a guess, read How to get access to USB-storage from the application installed as Snap?

Thanks for all your suggestions.
Unfortunately snap "bitcoin-core" has no plug named "removable-media".

I think unless the blockchain is mounted in root directory the snap is useless  Sad
legendary
Activity: 3290
Merit: 16489
Thick-Skinned Gang Leader and Golden Feather 2021
There must be a solution for this...
I've never used "snap" (and until today didn't know it exists), so as a guess, read How to get access to USB-storage from the application installed as Snap?
member
Activity: 122
Merit: 16
Already thought about it. But i wanted to give it a shot.
There must be a solution for this...
legendary
Activity: 3290
Merit: 16489
Thick-Skinned Gang Leader and Golden Feather 2021
BTW: I hate those snaps anyway  Angry
Then do a normal installation Smiley
member
Activity: 122
Merit: 16
Sorry, no such file, because "~/.bitcoin" does not exist. It's a snap.
BTW: I hate those snaps anyway  Angry

The application shows the error "It could not be written to directory 'media/....' Check permissions."
legendary
Activity: 3290
Merit: 16489
Thick-Skinned Gang Leader and Golden Feather 2021
I think i need to give permissions to write to external usb devices directly to the application. I know that this is possible, i just don't know what the specific command console command is.
If it runs as the same user, it has inherited the same permissions already.

Can you check (or post) this file:
Code:
~/.bitcoin/debug.log
copper member
Activity: 2856
Merit: 3071
https://bit.ly/387FXHi lightning theory
I don't know how helpful this'll be but permission looks like it could depend on the drive partition format: https://askubuntu.com/questions/93109/cant-write-to-ntfs-formatted-drives

I'm guessing the drive is fully kounted/findable in /media/drivename to you and you see able to write to it?
member
Activity: 122
Merit: 16
Is it an application problem or a user/permissions problem? To test: can you write to the external disk using another program?

It seems to be an application problem, because everything else (like writing/copying files to the drive) works perfectly.

My guess is you'll just need to change folder permissions, see for instance Change folder permissions and ownership.

I think i need to give permissions to write to external usb devices directly to the application. I know that this is possible, i just don't know what the specific command console command is.
legendary
Activity: 3290
Merit: 16489
Thick-Skinned Gang Leader and Golden Feather 2021
Problem is that the application seems to lack permission to write to the external disk.
Is it an application problem or a user/permissions problem? To test: can you write to the external disk using another program?

Quote
How can i give permission to the application?
My guess is you'll just need to change folder permissions, see for instance Change folder permissions and ownership.
member
Activity: 122
Merit: 16
Hello.

I recently installed Ubuntu 20.04 and installed Bitcoin-Core 0.19.1 from the Snap-Store.
The Blockchain is stored on an external drive. When i open the application i'm asked for the directory of the blockchain.
Problem is that the application seems to lack permission to write to the external disk.
How can i give permission to the application?

Thanks and regards
djoser
Jump to: