summaryrefslogtreecommitdiff
path: root/doc/bugs/getEffectiveUserID_not_supported_on_Windows.mdwn
blob: e8271ff94b1dc82d0a60c6af9c6594f756b914ef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
### Please describe the problem.
After a clean install of the latest git-annex for Windows (https://downloads.kitenet.net/git-annex/windows/current/), most git-annex commands fail with the following error message:
    
    git-annex: System.PosixCompat.User.getEffectiveUserID: not supported: illegal operation

### What steps will reproduce the problem?

    git init
    git annex init

Running for example `git annex version` or `git annex info` gives the same error message.


### What version of git-annex are you using? On what operating system?

git-annex version should be 5.20141024, but the installer does not specify version and `git annex info` does not work, so it is hard to tell for sure.
Running Windows 7, x64. Also tried running as administrator and in a cmd.exe shell as well as Powershell.


### Please provide any additional information below.

The `git annex test` command does work, and all 84 tests passes.

> [[fixed|done]]; I was able to reproduce this bug, and it was crashing
> trying to look up the geckos username. I don't understand why this worked
> before; some change exposed this code path on Windows. In any case, I've
> fixed the crash, and I will be updating the windows builds with this bug
> fix. --[[Joey]]