Bitcoin Forum
May 29, 2024, 09:40:03 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: [Armory]Stuck in offline mode. One problem found, with fix for dev.  (Read 758 times)
craige1 (OP)
Newbie
*
Offline Offline

Activity: 3
Merit: 0


View Profile
August 29, 2015, 02:02:19 AM
Last edit: August 29, 2015, 02:14:20 AM by craige1
 #1

Armory is giving the wrong account permissions to the bitcoin.conf file.

See log:

2015-08-29 11:01 (INFO) -- SDM.pyc:246 - Bootstrap file is 27.0 GB
2015-08-29 11:01 (INFO) -- SDM.pyc:321 - Found bitcoind in the following places:
2015-08-29 11:01 (INFO) -- SDM.pyc:323 -    D:\Program Files\Bitcoin\daemon\bitcoind.exe
2015-08-29 11:01 (INFO) -- SDM.pyc:325 - Using: D:\Program Files\Bitcoin\daemon\bitcoind.exe
2015-08-29 11:01 (INFO) -- SDM.pyc:496 - Reading bitcoin.conf file
2015-08-29 11:01 (INFO) -- SDM.pyc:515 - Setting permissions on bitcoin.conf
2015-08-29 11:01 (INFO) -- SDM.pyc:524 - Setting permissions on bitcoin.conf
2015-08-29 11:01 (INFO) -- ArmoryUtils.pyc:600 - Executing popen: [u'icacls', u'D:\\Program Files\\Bitcoin Home\\bitcoin.conf', u'/inheritance:r', u'/grant:r', u'Craig:F']
2015-08-29 11:01 (INFO) -- SDM.pyc:530 - icacls returned:
2015-08-29 11:01 (ERROR) -- ArmoryQt.py:2476 - Failed to setup SDM
Traceback (most recent call last):
  File "ArmoryQt.py", line 2471, in startBitcoindIfNecessary
  File "SDM.pyc", line 359, in setupSDM
  File "SDM.pyc", line 542, in readBitcoinConf
IOError: [Errno 13] Permission denied: u'D:\\Program Files\\Bitcoin Home\\bitcoin.conf'



The problem is that there are 2 craig accounts on this windows computer. One is a domain account "domain\craig", and the other is a local account "computer\craig". Because armory is unspecific when telling windows which account to give permissions to, windows is defaulting to the local account, which is not the account running armory.

Rather then using the name of the account, armory should use the SID of the account as they are unique. This will avoid any problems with names.
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!