Author

Topic: [Armory]Stuck in offline mode. One problem found, with fix for dev. (Read 782 times)

newbie
Activity: 3
Merit: 0
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.
Jump to: