ok spads from IS gave better suggestion than using umask in .bashrc. Now, we propose that you set alias for git like:
alias git='UMASK=002 git' Please update accordingly. Thanks! On Mon, Aug 8, 2011 at 11:51 AM, Alexander Sack <a...@linaro.org> wrote: > this should be fixed now. folks, please use: > > umask 002 > > in your .bashrc -> ssh git.linaro.org -> change .bashrc there. > > I guess from now on we could consider to use gerrit for toolchain etc. too. > > Thanks! > > On Sun, Aug 7, 2011 at 8:16 PM, James Westby <james.wes...@linaro.org> wrote: >> On Sun, 7 Aug 2011 02:25:17 +0100, Zach Pfeffer <zach.pfef...@linaro.org> >> wrote: >>> I'm seeing the same thing: >>> >>> $git push linaro HEAD >>> Counting objects: 5, done. >>> Delta compression using up to 4 threads. >>> Compressing objects: 100% (2/2), done. >>> Writing objects: 100% (3/3), 454 bytes, done. >>> Total 3 (delta 1), reused 0 (delta 0) >>> error: insufficient permission for adding an object to repository >>> database ./objects >>> >>> fatal: failed to write object >>> error: unpack failed: unpack-objects abnormal exit >>> To >>> ssh://pfeff...@git.linaro.org/srv/git.linaro.org/git/android/toolchain/manifest.git >>> ! [remote rejected] HEAD -> toolchain-11.07-release (n/a (unpacker error)) >>> error: failed to push some refs to >>> 'ssh://pfeff...@git.linaro.org/srv/git.linaro.org/git/android/toolchain/manifest.git' >>> >>> Any ideas Paul? >> >> The issue is that someone is pushing to these trees with a UMASK that >> prevents others in the group from writing some files to them. If you are >> pushing something that contains an object that needs to go in a dir >> created by someone pushing with a restrictive UMASK you will see this. >> >> You can file an RT ticket to get a chmod -R g+w on these trees. >> >> Please also make sure that if you are pushing to git.linaro.org you set >> your UMASK on that system to allow group write on files/dirs that you >> create. >> >> Thanks, >> >> James >> > > > > -- > > - Alexander > -- - Alexander _______________________________________________ linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev