Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 1101589
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T01:03:27+00:00 2026-05-17T01:03:27+00:00

I have a central repository and 3 users with local repositories that pull and

  • 0

I have a central repository and 3 users with local repositories that pull and push code to the central one.

I have a defined user hg and a group called hgusers to which all the 3 users belong to.

Every time a user pushes code, some directories and files get their owner and group changed from hg and hgusers to userName and userGroup respectively which makes impossible to the others to push code.So, I have to do chown and chgrp to go back to the initial situation again.

Here is the desirable situation, regarding user and group:

drwxrwxr-x 3 hg hgusers 4.0K 2010-09-23 08:06 .
drwxrwxr-x 3 hg hgusers 4.0K 2010-07-29 19:06 ..
-rw-rw-r-- 2 hg hgusers   57 2010-07-21 10:08 00changelog.i
-rw-rw-r-- 1 hg hgusers   94 2010-09-23 08:06 branchheads.cache
-rw-rw-r-- 2 hg hgusers   23 2010-07-21 10:08 requires
drwxrwxr-x 3 hg hgusers 4.0K 2010-09-23 08:06 store
-rw-rw-r-- 1 hg hgusers    7 2010-09-23 08:06 undo.branch
-rw-rw-r-- 1 hg hgusers    0 2010-09-23 08:06 undo.dirstate

Here is what I get when the user1 (group1) pushes code:

drwxrwxr-x 3 hg    hgusers 4.0K 2010-09-22 16:58 .
drwxrwxr-x 3 hg    hgusers 4.0K 2010-07-29 19:06 ..
-rw-rw-r-- 2 hg    hgusers   57 2010-07-21 10:08 00changelog.i
-rw-rw-r-- 1 user1 group1     94 2010-09-21 16:38 branchheads.cache
-rw-rw-r-- 1 user1 group1       7 2010-09-22 16:58 journal.branch
-rw-rw-r-- 1 user1 group1       0 2010-09-22 16:58 journal.dirstate
-rw-rw-r-- 2 hg    hgusers   23 2010-07-21 10:08 requires
drwxrwxr-x 3 hg    hgusers 4.0K 2010-09-22 16:58 store
-rw-rw-r-- 1 user1 group1      7 2010-09-21 16:38 undo.branch
-rw-rw-r-- 1 user1 group1      0 2010-09-21 16:38 undo.dirstate

There is probably something with the bit S.

Any suggestions? thanks.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-17T01:03:28+00:00Added an answer on May 17, 2026 at 1:03 am

    You need to add the +S bit to every directory starting at .hg and below.

    See MultipleCommitters for details.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a server that contains a central git repository and one of my
I have a central repository that I want to ensure that no one pushes
I have a central git repository that everyone pushes to for testing and integration,
We have a Library Project that we use for all our central reused code
I have a central mercurial repository, and have many folders and code in there.
I have an application that is made up of the following: A central database
I have a web application that synchronizes with a central database four times per
I have a Maven project called Utils that i'm working on. I also have
I have a central Mercurial repository, which configured to use HTTPS and requires authentication
I have a GIT repository that I manage for my office. Because of company

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.