From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga09.intel.com ([134.134.136.24]) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1WSMVt-0001tF-I0 for linux-mtd@lists.infradead.org; Tue, 25 Mar 2014 08:15:14 +0000 Message-ID: <1395735262.1549.52.camel@sauron.fi.intel.com> Subject: Re: [PATCH v2] ubi-utils: Add ubiblock tool From: Artem Bityutskiy To: "dwmw2@infradead.org" Date: Tue, 25 Mar 2014 10:14:22 +0200 In-Reply-To: <1395734925.1549.51.camel@sauron.fi.intel.com> References: <1394806381-25458-1-git-send-email-ezequiel.garcia@free-electrons.com> <1394807124-25916-1-git-send-email-ezequiel.garcia@free-electrons.com> <1395733934.1549.46.camel@sauron.fi.intel.com> <1395734925.1549.51.camel@sauron.fi.intel.com> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Cc: Brian Norris , linux-mtd@lists.infradead.org, Ezequiel Garcia Reply-To: dedekind1@gmail.com List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Tue, 2014-03-25 at 10:08 +0200, Artem Bityutskiy wrote: > On Tue, 2014-03-25 at 09:52 +0200, Artem Bityutskiy wrote: > > On Fri, 2014-03-14 at 11:25 -0300, Ezequiel Garcia wrote: > > > With the addition of block device access to UBI volumes, we now > > > add a simple userspace tool to access the new ioctls. > > > > > > Usage of this tool is as simple as it gets: > > > > > > $ ubiblock --create /dev/ubi0_0 > > > > > > will create a new block device /dev/ubiblock0_0, and > > > > Pushed to mtd-utils, thanks! > > Actually, I did not, push fails. > > The root-cause, AFAICS, is that when Brian pushes there, files and > directories in .git/objects/ get created without "write" group > permissions. So I cannot create new objects. > > I _think_ this is because of Brian's umask. If Brian could set it to > '002', that would not happen. > > Brian or David, would you please fix-up the permissions and add g+w? Is > there a way to force g+w, I wonder? I am not aware of such... There are many discussions on the topic, actually, e.g.: http://serverfault.com/questions/26954/how-do-i-share-a-git-repository-with-multiple-users-on-a-machine http://stackoverflow.com/questions/6448242/git-push-error-insufficient-permission-for-adding-an-object-to-repository-datab -- Best Regards, Artem Bityutskiy