Rebase Permissions

Stephen Rasku mercurial at srasku.net
Tue Nov 3 11:25:53 CST 2009


On Mon, Nov 2, 2009 at 14:55, Matt Mackall <mpm at selenic.com> wrote:
>
> Mercurial does very little with permissions, so this is surprising.
> What permission/ownership does that file end up getting? What filesystem
> is involved?

The file ends up with 755 permissions:

-rwxr-xr-x 1 hguser hg 811 Oct 15 07:58
/var/cvshg/INC/TUNet-0002/BASE_STATION/newmodule/Makefile*

This happens for umask 022 and 002.

This is an ext3 filesystem running inside a VM.  I believe the VM is Xen:

 $ mount | grep var
/dev/mapper/vg0-lv03 on /var type ext3 (rw)

...Stephen


More information about the Mercurial mailing list