Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • thg thg
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 829
    • Issues 829
    • List
    • Boards
    • Service Desk
    • Milestones
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • mercurial
  • TortoiseHg
  • thgthg
  • Issues
  • #5543
Closed
Open
Created May 14, 2020 by Bitbucket Importer@bitbucket_importerOwner

Directory named "hg" on search path is used for cmdserver execution resulting in permission denied error

Created originally on Bitbucket by Peter Duda

On Linux, when there is a directory named “hg” on the search path before real “hg” script, it is found and used as path for mercurial cmdserver execution, resulting in following error reported when there is attempt to use cmdserver:

cmdserver: execve: Permission denied
cmdserver: process exited unexpectedly with code 0

Renaming that directory resolves an issue, but directory should not be used when searching for mercurial exec path.

os.path.isfile(ppath) should be added to os.access(ppath, os.X_OK) test in find_in_path method in Not Windows section in tortoisehg/util/paths.py

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking