Rebase Permissions

chadrik chadrik at gmail.com
Mon Nov 2 19:23:45 CST 2009


can you run that with the --traceback flag on?  i'm curious if this  
has to do with the issues i had with util.copyfile, which attempts to  
change file timestamps despite the fact that it is rarely necessary  
and impossible to do on a file you don't own.

-chad


On Nov 2, 2009, at 2:27 PM, Stephen Rasku wrote:

> I am trying to rebase a repository that I didn't create but which I
> have group write permission on:
>
> $ ls -l .
> total 40
> drwxrwxr-x 114 hguser hg 4096 Nov  2 14:17 Dir1/
> drwxrwxr-x   7 hguser hg 4096 Sep 10 15:43 Dir2/
> drwxrwxr-x   2 hguser hg 4096 Oct 15 07:58 INC/
> drwxrwxr-x   2 hguser hg 4096 Sep 10 15:43 psftp/
> drwxrwxr-x  11 hguser hg 4096 Sep 10 15:43 www/
>
> When I try and rebase it, I get the following error:
>
> $ hg pull --reb
> pulling from /var/hg/blah
> searching for changes
> adding changesets
> adding manifests
> adding file changes
> added 159 changesets with 411 changes to 171 files (+1 heads)
> (run 'hg heads' to see heads, 'hg merge' to merge)
> abort: Permission denied: /.../Dir1/newmodule/Makefile
>
> This module doesn't exist in the repository prior to rebasing.  Why
> would Mercurial create a file with permissions that the user running
> the command can't use?
>
> This is for version 1.3.1 on Linux.
>
> ...Stephen
> _______________________________________________
> Mercurial mailing list
> Mercurial at selenic.com
> http://selenic.com/mailman/listinfo/mercurial



More information about the Mercurial mailing list