[Gluster-users] root squash and git clone

Prasun Gera prasun.gera at gmail.com
Tue Jun 9 01:34:55 UTC 2015


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 at gmail.com> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.gluster.org/pipermail/gluster-users/attachments/20150608/71246059/attachment.html>


More information about the Gluster-users mailing list