码迷,mamicode.com
首页 > 数据库 > 详细

[解决]Mercurial HTTP Error 500: Access is denied on 00changelog.i

时间:2016-12-27 07:31:26      阅读:192      评论:0      收藏:0      [点我收藏+]

标签:eset   ror   auth   missing   this   account   store   ges   his   

总之,用户对仓库目录要有写权限

, , , , , ,

Mercurial HTTP Error 500: Access is denied on 00changelog.i

January 13, 2011

Today I created a new Mercurial repository on a Windows server.  I cloned it, made some changes, tried to push, and was greeted with this:

C:\myapplication>hg push
pushing to http://servername/myapplication
searching for changes
abort: HTTP Error 500: .hg\store0changelog.i: Access is denied

My user account had write permission to the myapplication folder on the server, and the odd thing is that I’ve created repositories there before and never had a problem pushing changes.  I compared 00changelog.i to the same file in another repository that was working.  Turns out I was using anonymous authentication and IUSR was missing write permission.  I gave full control to IUSR on hg\store folder and…

C:\myapplication>hg push
pushing to http://servername/myapplication
searching for changes
remote: adding changesets
remote: adding manifests
remote: adding file changes
remote: added 1 changesets with 114 changes to 114 files

Success!

If you’re having problems pushing to a central server with Mercurial, make sure the IIS anonymous authentication account (IUSR or IUSR_MachineName) you have write permission to the hg\store folder and subfolders in your repository.

[解决]Mercurial HTTP Error 500: Access is denied on 00changelog.i

标签:eset   ror   auth   missing   this   account   store   ges   his   

原文地址:http://www.cnblogs.com/Samnew/p/6224386.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!