Re: root squash and git clone

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Anyone noticed this ? This is easily reproducible for me. It's a bit strange though since a) git clone isn't/shouldn't be doing anything as root and b) if it were, it would have failed similarly on a regular(not glusterfs) nfs mount with root squash for me, which it doesn't. 

On Wed, Jun 3, 2015 at 7:22 AM, Prasun Gera <prasun.gera@xxxxxxxxx> wrote:
Version: RHS 3.0

I noticed that if server.root-squash is set on, clients get permissions errors on git commands like git clone. Is this a known issue ? I confirmed that the write permissions to the destination directories were correct, and normal writes were working fine. git clones would fail though with:

error:unable to write sha1 filename ....
fatal :cannot store pack file
fatal :index-pack failed

_______________________________________________
Gluster-users mailing list
Gluster-users@xxxxxxxxxxx
http://www.gluster.org/mailman/listinfo/gluster-users

[Index of Archives]     [Gluster Development]     [Linux Filesytems Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux