linux-mtd.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: Artem Bityutskiy <dedekind1@gmail.com>
To: "dwmw2@infradead.org" <dwmw2@infradead.org>
Cc: Brian Norris <computersforpeace@gmail.com>,
	linux-mtd@lists.infradead.org,
	Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
Subject: Re: [PATCH v2] ubi-utils: Add ubiblock tool
Date: Tue, 25 Mar 2014 10:14:22 +0200	[thread overview]
Message-ID: <1395735262.1549.52.camel@sauron.fi.intel.com> (raw)
In-Reply-To: <1395734925.1549.51.camel@sauron.fi.intel.com>

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

  reply	other threads:[~2014-03-25  8:15 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-14 14:13 [PATCH] ubi-utils: Add ubiblock tool Ezequiel Garcia
2014-03-14 14:19 ` Ezequiel Garcia
2014-03-14 14:25 ` [PATCH v2] " Ezequiel Garcia
2014-03-21 18:09   ` Ezequiel Garcia
2014-03-25  7:52   ` Artem Bityutskiy
2014-03-25  8:08     ` Artem Bityutskiy
2014-03-25  8:14       ` Artem Bityutskiy [this message]
2014-03-29 20:24     ` Ezequiel Garcia
2014-03-31  9:45       ` Artem Bityutskiy
2014-03-31 17:13         ` Brian Norris
2014-04-05 20:33   ` Ezequiel Garcia
2014-04-07 11:33     ` Artem Bityutskiy
2014-04-07 11:48       ` Ezequiel Garcia

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1395735262.1549.52.camel@sauron.fi.intel.com \
    --to=dedekind1@gmail.com \
    --cc=computersforpeace@gmail.com \
    --cc=dwmw2@infradead.org \
    --cc=ezequiel.garcia@free-electrons.com \
    --cc=linux-mtd@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).