comment
This commit is contained in:
parent
9d684e4dfa
commit
f54b9f2389
1 changed files with 22 additions and 0 deletions
|
@ -0,0 +1,22 @@
|
||||||
|
[[!comment format=mdwn
|
||||||
|
username="joey"
|
||||||
|
subject="""comment 1"""
|
||||||
|
date="2021-08-09T16:52:53Z"
|
||||||
|
content="""
|
||||||
|
It seems likely to me that the directory you're trying to use git-annex in
|
||||||
|
either no longer exists, or is in some other strange state.
|
||||||
|
|
||||||
|
I can get close to this error message by asking for
|
||||||
|
the contents of the directory "/etc/passwd". Of course,
|
||||||
|
that file is not a directory.
|
||||||
|
|
||||||
|
ghci> System.Directory.getDirectoryContents "/etc/passwd"
|
||||||
|
*** Exception: /etc/passwd: getDirectoryContents:openDirStream: inappropriate type (Not a directory)
|
||||||
|
|
||||||
|
I have not found a way to make readDirStream throw the error, but this
|
||||||
|
shows that the problem is basically something to do with getting directory
|
||||||
|
contents.
|
||||||
|
|
||||||
|
stracing git-annex might shed some more light on how the `readdir()`
|
||||||
|
syscall is failing.
|
||||||
|
"""]]
|
Loading…
Add table
Reference in a new issue