Bitcoin Forum
June 23, 2024, 09:05:10 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: ./electrum: Permission denied error  (Read 255 times)
jefferson7 (OP)
Newbie
*
Offline Offline

Activity: 50
Merit: 0


View Profile
August 20, 2017, 10:15:09 PM
 #1

After unzipping electrum-2.8.3.tar.gz to a folder, i moved into that forlder in terminal and ran:
./electrum

and i get the error:
./electrum: Permission denied error

I searched and found a suggestion to change permissions on the electrum.py file to make it executable. So I tried that and it seems to have worked, Electrum Wallet has opened. But I just wanted to check if that sounds right to everyone? Would the Electrum package have to have the permissions updated right after unzipping to make it work or am i missing something? That doesn't seem right that it wouldn't already have the correct perms 'out of the box'?

Do the tar.gz files have to be complied? Not sure if this is going in the right direction?

Thanks!
kolloh
Legendary
*
Offline Offline

Activity: 1736
Merit: 1023


View Profile
August 20, 2017, 10:58:24 PM
 #2

After unzipping electrum-2.8.3.tar.gz to a folder, i moved into that forlder in terminal and ran:
./electrum

and i get the error:
./electrum: Permission denied error

I searched and found a suggestion to change permissions on the electrum.py file to make it executable. So I tried that and it seems to have worked, Electrum Wallet has opened. But I just wanted to check if that sounds right to everyone? Would the Electrum package have to have the permissions updated right after unzipping to make it work or am i missing something? That doesn't seem right that it wouldn't already have the correct perms 'out of the box'?

Do the tar.gz files have to be complied? Not sure if this is going in the right direction?

Thanks!

Yeah, that all sounds fine. You have to set the binary to be executable or you won't be able to execute it with ./electrum . You can always use python electrum to manually load it with python without the need to set it executable.

tar.gz files are simply archived files similar to a ZIP file and they don't have to be compiled.
Abdussamad
Legendary
*
Offline Offline

Activity: 3640
Merit: 1571



View Profile
August 21, 2017, 04:51:24 PM
 #3

you should install it properly using pip2 as instructed on the download page:

https://electrum.org/#download
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!