zoukankan      html  css  js  c++  java
  • [解决]Mercurial HTTP Error 500: Access is denied on 00changelog.i

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

    , , , , , ,

    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: .hgstore0changelog.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 hgstore 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 hgstore folder and subfolders in your repository.

  • 相关阅读:
    8.存储器
    7.计算机的总线
    6.计算机的字符与编码集
    5.计算机的计量单位
    JAVA 实用插件
    并发(三)
    并发(二)
    Java 8 Lambda
    并发(一)
    Mybatis(七)-- LRU LFU 算法
  • 原文地址:https://www.cnblogs.com/Samnew/p/6224386.html
Copyright © 2011-2022 走看看