threads / discuss / 16002

Re: git 1.6.0.2 make test fails at t1301 under mac os x 10.4.

Subject: Re: git 1.6.0.2 make test fails at t1301 under mac os x 10.4.

## tl;dr

One message between Oct 22, 2008 and Oct 22, 2008.

replies: 0people: 1as markdown or json

Fergus McMenemie· Oct 22, 2008, 06:11 UTC · lore
Johannes,
Thanks for the prompt response. On the systems that work:-
Show 9 quoted lines
>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
Show 7 quoted lines
>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.
Show 15 quoted lines
>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
===============================================================

← back to recent threads