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

Re: Permission denied ONLY after pulling bundles

From
RBRossella Barletta <rossella.barletta@gmail.com>
Date
Jun 8, 2015, 08:47 UTC
Message-ID
<CAJeiYQED8h3h9VGgcBfg9ddEBee7aGC+5HYpXEja6_vjy_hs6Q@mail.gmail.com>
In-Reply-To
<CAJeiYQHmXjxdk7eGSsd9TN5hfPF72ssS-j0xGZ6QOYD+5Gb++g@mail.gmail.com>
So summarizing:
1)  Git repository (bare)  is on Windows on a shared folder
2)  Clone of the repository is on Linux
3) Clone of the repository is on windows
4) I received a bundle made starting by a branch, i pull the bundle on
the same branch on Windows, i push the changes , everything ok
5) I go on the clone on Linux, i pull the changes in the branch, make
some updates, push...but i get error message about permissions.

4-Alternative) I received a bundle made starting by a branch, i pull the bundle on the same branche on Linux, i push the changes , permission errors.

The permissions of the files are all set to 777. It is not clear why pushing (after pulling a bundle) on Linux gives permission problems. Even thinking about the user, we have to take in account that before pulling the bundle the same user was used and there was no problem before.

Thanks for your support.
Rossella
2015-06-08 10:34 GMT+02:00 Rossella Barletta <rossella.barletta@gmail.com>:
Show 62 quoted lines
> I followed all your indications (created a small fake repo on windows,
> cloned it and playing with bundles)  and in this case everything
> works.On windows i dont have any problem and i used the version 1.9.5.
>
> Then i created a clone of my original repo, again on Windows (since my
> original one is a bare repository) and i pulled the bundle and then
> pushed in the branch and it worked. Same operation that doesnt work on
> Linux works on Windows.
>
> So i went again on Linux, pulled on my branch of the clone repo , i
> has to commit first since i had some changes. So i committed, pulled,
> and then pushed again.The push was unsuccessful giving the error
> message that i indicated at the beginning.
>
> So i cannot push only my clone on Linux.
>
> Rossella
>
> 2015-06-05 18:01 GMT+02:00 Christian Couder <christian.couder@gmail.com>:
>> On Fri, Jun 5, 2015 at 8:54 AM, Rossella Barletta
>> <rossella.barletta@gmail.com> wrote:
>>
>> [...]
>>
>>> FIST ONE (PERMISSION PROBLEMS)
>>>
>>> - Repo is on windows
>>> - Repo folder is shared
>>> -Repo is a copy of another repository being on a machine in another
>>> city on which we cannot access. We got all the files, included the
>>> folder .git a put everything in our shared folder
>>> - Mounted the Repo folder on Linux
>>> -Created the clone
>>> - got a bundle from the original repository (bundle created from a branch)
>>> -pulled the bundle in the same branch
>>>
>>>
>>>
>>> SECOND ONE (NO PROBLEMS BUT WE CANT USE THIS)
>>> - Repo is on Linux
>>> -Repo is a copy of another repository being on a machine in another
>>> city on which we cannot access.
>>> - got a bundle from the original repository (bundle created from a branch)
>>> -pulled the bundle in the same branch
>>>
>>>
>>>
>>> 4) Git version is 1.7.1
>>
>> It would be nice if you could try to reproduce the problem:
>>
>> - using a recent Git, as v1.7.1 is 5 years old,
>> - using a small fake repo,
>> - doing everything on Windows.
>>
>> Best,
>> Christian.
>
>
>
> --
> Rossella
-- 
Rossella
Previous: Rossella BarlettaNext: Thomas Ferris Nicolaisen
Message 7 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.