git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Permission denied ONLY after pulling bundles

From
Christian Couder <christian.couder@gmail.com>
Date
Jun 4, 2015, 19:06 UTC
Message-ID
<CAP8UFD1=96Y484GvG9ms2uiWm2uyWO0qE2Lh6SH2UwrwHpEF8w@mail.gmail.com>
In-Reply-To
<CAJeiYQGUsB-9XYdnqDgoSy5JU-EVTbf-1OuTU5BGfpT9q6xKbg@mail.gmail.com>
Hi,

On Thu, Jun 4, 2015 at 3:04 PM, Rossella Barletta <rossella.barletta@gmail.com> wrote:

Show 16 quoted lines
> Dear git group,
>
>
> I would like to ask your help for a problem that we cannot fix in any way.
>
> We have a git repository in folder on Windows.
>
> Then we use VMware player on CentOS_6 on which we create a clone of
> the git repository, after of course having mounted the directory in
> which the repository is.
>
> So the repository is on windows and the clone on Linux.
>
> We are able to perfom all the git operations we need, except for the
> pull .bundle, which is successful in itself but prevent us from
> pushing after that.

It is not very clear how the bundle has been made, and on which machine you made it and you pulled from it.

Show 9 quoted lines
> As we try to push after pulling a .bundle in a branch we get the error message
>
> NODE1:fdp> git push
> Counting objects: 1977, done.
> Delta compression using up to 2 threads.
> Compressing objects: 100% (423/423), done.
> fatal: write error: Permission denied00 KiB | 158 KiB/s
> error: pack-objects died of signal 13
> error: pack-objects died with strange error

Can you have a look at the machine you push to and see if some file or directory permissions changed between before and after you made the bundle or you pulled the bundle?

> We have checked all the permissions, changed the users, recreated the
> clone but nothing worked.

What do you mean by checked all the permissions? You mean that permissions haven't changed at all since before you pulled the first bundle?

Show 7 quoted lines
> The push operation works perfectly until we pull a bundle. After
> pulling a bundle we are not able to push anymore.We tryed to delete
> the branches, recreate others and all works perfectly, also the
> push.As we pull the .bundle we cannot get the permission to do the
> push anymore.
>
> What has this to do with the bundle?

Did you try to everything (cloning, creating a bundle, pulling it and pushing on the same machine to see if it makes a difference? Also did you try with another smaller fake repository?

If you can reproduce with a smaller fake repo on just one machine it could help us reproduce on one of our machine and have a look.

And could you tell us which version of git (using git --version) you are using on both machines?

Thanks, Christian.

Previous: Rossella BarlettaNext: Philip Oakley
Message 2 of 9 in “Permission denied ONLY after pulling bundles”
  1. Rossella BarlettaJun 4, 2015
  2. Christian CouderJun 4, 2015
  3. Philip OakleyJun 4, 2015
  4. Rossella BarlettaJun 5, 2015
  5. Christian CouderJun 5, 2015
  6. Rossella BarlettaJun 8, 2015
  7. Rossella BarlettaJun 8, 2015
  8. Thomas Ferris NicolaisenJun 8, 2015
  9. Rossella BarlettaJun 8, 2015

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.