Post
Topic
Board Altcoin Discussion
Re: [ANN] CryptoSwitcher - Automatically mine the best coin.
by
salfter
on 02/07/2013, 16:06:12 UTC
Hey guys I have been trying to get this running for a few hours now and I can't for the life of me figure out what I am missing here.  I keep getting this error message:

Microsoft Windows [Version 6.2.9200]
(c) 2012 Microsoft Corporation. All rights reserved.

What version of Windows is this...Windows 8?  Windows 7 SP1 is 6.1.7601.

Quote
C:\WINDOWS\system32>cd c:\cryptoswitcher

I had a bunch of problems migrating from WinXP to Win7 with the way Win7 screws with file permissions.  I've never used Win8, but I wouldn't be surprised to find it's broken in the same way.  Directories created in the root directory are created with permissions for nobody.  Try this:

1) Open an Explorer window to C:\. Create a new directory.
2) Open a Cygwin shell prompt. Type this:
Code:
cd /cygdrive/c/ && ls -l | grep foo

Permissions should look something like "drwxr-xr-x+" if it had been properly created.  Instead, you'll probably see "d---------+", which means nobody can access it (or files within it).  Check permissions on the files in your CryptoSwitcher directory...I wouldn't be surprised if
Code:
ls -l /cygdrive/c/cryptoswitcher
reveals that none of the files are readable. When CryptoSwitcher then tries to load its config file, it's told it can't, which is why you're getting that error.

I'd recommend running CryptoSwitcher (and your miner) from "C:\Program Files (x86)" (or "C:\Program Files" on a 32-bit system).  Open a Cygwin administrator prompt (find the Cygwin Terminal shortcut in the start menu, right-click it, and click "Run as administrator") and use this to move it and (hopefully) fix permissions to something useful:

Code:
cd c:
mv cryptoswitcher Program\ Files\ \(x86\)/CryptoSwitcher
chmod 755 Program\ Files\ \(x86\)/CryptoSwitcher
chmod 644 Program\ Files\ \(x86\)/CryptoSwitcher/*