fix creation of creds directory for xmpp
This commit is contained in:
parent
f642bdc4b2
commit
f3bbe075f2
2 changed files with 3 additions and 0 deletions
|
@ -72,6 +72,7 @@ setXMPPCreds :: XMPPCreds -> Annex ()
|
|||
setXMPPCreds creds = do
|
||||
f <- xmppCredsFile
|
||||
liftIO $ do
|
||||
createDirectoryIfMissing True (parentDir f)
|
||||
h <- openFile f WriteMode
|
||||
modifyFileMode f $ removeModes
|
||||
[groupReadMode, otherReadMode]
|
||||
|
|
|
@ -1 +1,3 @@
|
|||
I just compiled ff7810eb83d8372e6206d487c63482d678e0b3d4 and created a new git-annex repository through the setup steps of "git-annex webapp". Then I tried configuring a Jabber account from the webapp. It then failed to create $REPO/.git/annex/creds/xmpp with a "No such file or directory" message because $REPO/.git/annex/creds did not get created. After doing a manual mkdir the Jabber setup went through fine.
|
||||
|
||||
> [[Fixed|done]], thanks. --[[Joey]]
|
||||
|
|
Loading…
Reference in a new issue