Proposal: inherit group

Isaac Jurado diptongo at gmail.com
Thu Oct 11 02:42:24 CDT 2012


On Thu, Oct 11, 2012 at 3:57 AM, Matt Mackall <mpm at selenic.com> wrote:
> Currently, Mercurial inherits file permission bits from .hg/store. This
> lets newly-created files in a repo on a shared filesystem get
> group-compatible permissions regardless of the current umask of the
> user.
>
> Unfortunately, the group attached to the file will not automatically be
> a useful one unless all the directories in .hg/store are also carefully
> marked g+s so that newly-created files and directories get shared with
> the appropriate group. This, being a bit outside Unix Permissions 101,
> is apparently not something most people know how to do.
>
> So it might significantly ease things if we tried to automatically copy
> the group from the .hg/store directory to newly created files and
> directories in the store.

What about ACL enabled Unices or the Windows equivalent?  Is there an
intention to support that?  I'm not using either one, but I believe
that sooner or later someone will come up with the question.

-- 
Isaac Jurado

"The noblest pleasure is the joy of understanding"
Leonardo da Vinci


More information about the Mercurial-devel mailing list