djoser (OP)
Member
Offline
Activity: 122
Merit: 16
|
|
May 15, 2020, 02:01:55 PM |
|
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
|
Why mine when you can research? - GRIDCOIN - REAL cryptocurrency without wasting hashes! https://gridcoin.us
|
|
|
|
|
|
|
|
The forum was founded in 2009 by Satoshi and Sirius. It replaced a
SourceForge forum.
|
|
|
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
|
|
LoyceV
Legendary
Offline
Activity: 3304
Merit: 16620
Thick-Skinned Gang Leader and Golden Feather 2021
|
|
May 15, 2020, 02:43:09 PM |
|
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? 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.
|
|
|
|
djoser (OP)
Member
Offline
Activity: 122
Merit: 16
|
|
May 15, 2020, 02:50:43 PM |
|
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. 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.
|
Why mine when you can research? - GRIDCOIN - REAL cryptocurrency without wasting hashes! https://gridcoin.us
|
|
|
jackg
Copper Member
Legendary
Offline
Activity: 2856
Merit: 3071
https://bit.ly/387FXHi lightning theory
|
|
May 15, 2020, 03:01:05 PM |
|
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-drivesI'm guessing the drive is fully kounted/findable in /media/drivename to you and you see able to write to it?
|
|
|
|
LoyceV
Legendary
Offline
Activity: 3304
Merit: 16620
Thick-Skinned Gang Leader and Golden Feather 2021
|
|
May 15, 2020, 03:04:23 PM |
|
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:
|
|
|
|
djoser (OP)
Member
Offline
Activity: 122
Merit: 16
|
|
May 15, 2020, 03:10:17 PM Last edit: May 15, 2020, 03:20:54 PM by djoser |
|
Sorry, no such file, because "~/.bitcoin" does not exist. It's a snap. BTW: I hate those snaps anyway The application shows the error "It could not be written to directory 'media/....' Check permissions."
|
Why mine when you can research? - GRIDCOIN - REAL cryptocurrency without wasting hashes! https://gridcoin.us
|
|
|
LoyceV
Legendary
Offline
Activity: 3304
Merit: 16620
Thick-Skinned Gang Leader and Golden Feather 2021
|
|
May 15, 2020, 03:12:32 PM |
|
BTW: I hate those snaps anyway Then do a normal installation
|
|
|
|
djoser (OP)
Member
Offline
Activity: 122
Merit: 16
|
|
May 15, 2020, 03:14:08 PM |
|
Already thought about it. But i wanted to give it a shot. There must be a solution for this...
|
Why mine when you can research? - GRIDCOIN - REAL cryptocurrency without wasting hashes! https://gridcoin.us
|
|
|
|
djoser (OP)
Member
Offline
Activity: 122
Merit: 16
|
|
May 15, 2020, 05:59:27 PM |
|
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
|
Why mine when you can research? - GRIDCOIN - REAL cryptocurrency without wasting hashes! https://gridcoin.us
|
|
|
Abdussamad
Legendary
Offline
Activity: 3612
Merit: 1564
|
|
May 16, 2020, 07:26:54 AM |
|
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.
|
|
|
|
djoser (OP)
Member
Offline
Activity: 122
Merit: 16
|
|
May 16, 2020, 11:16:00 AM |
|
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!!
|
Why mine when you can research? - GRIDCOIN - REAL cryptocurrency without wasting hashes! https://gridcoin.us
|
|
|
|