From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rossella Barletta Subject: Re: Permission denied ONLY after pulling bundles Date: Mon, 8 Jun 2015 10:47:24 +0200 Message-ID: References: <41C6F74EB68C43E183AF26092D2AAD44@PhilipOakley> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Cc: Philip Oakley , git , "dario.ligorio" To: Christian Couder X-From: git-owner@vger.kernel.org Mon Jun 08 10:48:11 2015 Return-path: Envelope-to: gcvg-git-2@plane.gmane.org Received: from vger.kernel.org ([209.132.180.67]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Z1siQ-0001Yp-3j for gcvg-git-2@plane.gmane.org; Mon, 08 Jun 2015 10:47:30 +0200 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752665AbbFHIr0 (ORCPT ); Mon, 8 Jun 2015 04:47:26 -0400 Received: from mail-qk0-f170.google.com ([209.85.220.170]:33485 "EHLO mail-qk0-f170.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752195AbbFHIrY (ORCPT ); Mon, 8 Jun 2015 04:47:24 -0400 Received: by qkhg32 with SMTP id g32so74363182qkh.0 for ; Mon, 08 Jun 2015 01:47:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=6Mu+9sbqa3NGpcw8IT+nsMa3qF7Y4iEX9wdJ3PORdNs=; b=fMG+LbKL1P6y5/4C2fOtX1UoI821/a6/9hhEGZ1AVvKz1jDU87Zs5vuoFBO5Jj01L4 7BbjjCk2ly/N519dJpr/OihlL2AcXfLUvrKHYqcaMdp2B+QcXIP0z/FhSsDa/P5QFsZF scS9xaNpbmYCMNXfLSq3SZnbavO1FdnKSYDxNpKlHuAelV+/nbMPxZIgQR7jFgf4iIXC VsMvgU7lM4yy5rmeAQJULBTBMLGLBMjL7SC/Yfl5Ju8Y0nNEevLbEzXtb9QVPb1ZWbUg I+q8D1JMQu05Yt4kRh/EtcpUggEBu4mXh6PWL8qNC9aVCKpSM40CPwXABE4ofNvfAM5K 7rQg== X-Received: by 10.140.218.18 with SMTP id o18mr19006955qhb.30.1433753244299; Mon, 08 Jun 2015 01:47:24 -0700 (PDT) Received: by 10.96.58.165 with HTTP; Mon, 8 Jun 2015 01:47:24 -0700 (PDT) In-Reply-To: Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Archived-At: 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 : > 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 : >> On Fri, Jun 5, 2015 at 8:54 AM, Rossella Barletta >> 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