[PATCH v2] ubi-utils: Add ubiblock tool
Artem Bityutskiy
dedekind1 at gmail.com
Tue Mar 25 04:14:22 EDT 2014
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
More information about the linux-mtd
mailing list