Git development
 help / color / mirror / Atom feed
From: Fergus McMenemie <fergus@twig.me.uk>
To: git@vger.kernel.org
Subject: Re: git 1.6.0.2 make test fails at t1301 under mac os x 10.4.
Date: Wed, 22 Oct 2008 07:11:04 +0100	[thread overview]
Message-ID: <p06240806c52472a2e0ab@[192.168.47.12]> (raw)

Johannes,

Thanks for the prompt response. On the systems that work:-

>fergus:pwd
>/usr/local/packages/git-1.6.0.2
>fergus:mkdir y
>fergus:dir y
>total 0
>drwxr-xr-x    2 fergus  fergus     68 21 Oct 22:52 ./
>drwxr-xr-x  692 fergus  fergus  23528 21 Oct 22:52 ../
>fergus:id
>uid=501(fergus) gid=501(fergus) groups=501(fergus),98(_lpadmin),101(com.apple.sharepoint.group.1),66(_uucp),80(admin)

on the system that fails I see

>fergus:mkdir y
>fergus:dir y
>total 0
>drwxr-xr-x     2 fergus  wheel     68 Oct 21 22:52 ./
>drwxr-xr-x   693 fergus  wheel  23562 Oct 21 22:52 ../
>fergus:id
>uid=501(fergus) gid=501(fergus) groups=501(fergus), 81(appserveradm), 79(appserverusr), 80(admin)

Looking into this further, creating a file/dir on a BSD based system such
as OSX, the group ownership of the file/dir is taken from the enclosing
dirs group. Unlike say Solaris or Linux where it is based on your primary
group. I had not noticed this difference before!

All test passed, after changing the group ownership.

>On Tue, 21 Oct 2008, Fergus McMenemie wrote:
>
>> >++ mkdir sub
>> >++ cd sub
>> >++ umask 002
>> >++ git init --shared=1
>> >fatal: Could not make /usr/local/packages/git-1.6.0.2/t/trash
>> >directory/sub/.git/refs writable by group
>
>I guess this is the problem.
>
>Could you inspect what owner/group that directory has?
>
>Ciao,
>Dscho

-- 

===============================================================
Fergus McMenemie               Email:fergus@twig.me.uk
Techmore Ltd                   Phone:(UK) 07721 376021

Unix/Mac/Intranets             Analyst Programmer
===============================================================

             reply	other threads:[~2008-10-22  6:12 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-22  6:11 Fergus McMenemie [this message]
  -- strict thread matches above, loose matches on Subject: below --
2008-10-21 18:32 git 1.6.0.2 make test fails at t1301 under mac os x 10.4 Fergus McMenemie
2008-10-21 21:24 ` Johannes Schindelin

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='p06240806c52472a2e0ab@[192.168.47.12]' \
    --to=fergus@twig.me.uk \
    --cc=git@vger.kernel.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