git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: 'error: unable to set permission to './objects/...'

From
Martin Langhoff <martin.langhoff@gmail.com>
Date
Nov 23, 2009, 09:52 UTC
Message-ID
<46a038f90911230152j34f42e85ibf4ed57660bd2cf2@mail.gmail.com>
In-Reply-To
<7vd43acf7y.fsf@alter.siamese.dyndns.org>
On Mon, Nov 23, 2009 at 12:27 AM, Junio C Hamano <gitster@pobox.com> wrote:
> And the chmod() fails
> in this codepath.  Then what?  Wouldn't it make the resulting repository
> unusable?

Slightly off-topic: I keep encountering hosts where core.sharedrepository doesn't always work with git+ssh. It may be related to old git versions (I see 1.5.8 in a host where I've seen it happen recently), but I never fails to baffle me.

Been sysadmin'ing and developing on linux since '98 and there is nothing to prevent git from chmod'ing things right. And I know a few things about git's plumbing :-) -- don't think it should be mysteriously failing.

(And in several git repo servers I've spotted a cronjob doing chmod -R g+rwx, applied by sysadmins to make the devs STFU about it ;-) ).

Is there a shortlist somewhere of reasons for it to be ignored? Perhaps it is a known bug in old versions? -- the repo servers are often behind...

Puzzled minds want to know.
m
-- 
 martin.langhoff@gmail.com
 martin@laptop.org -- School Server Architect
 - ask interesting questions
 - don't get distracted with shiny stuff  - working code first
 - http://wiki.laptop.org/go/User:Martinlanghoff
Previous: Rafal Rusin
Message 7 of 7 in “'error: unable to set permission to './objects/...'”
  1. Rafal RusinNov 22, 2009
  2. Miklos VajnaNov 22, 2009
  3. Junio C HamanoNov 22, 2009
  4. Rafal RusinNov 23, 2009
  5. Junio C HamanoNov 23, 2009
  6. Rafal RusinNov 24, 2009
  7. Martin LanghoffNov 23, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.