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

git objects mode 755 vs 700

From
ELEvan Li <li.evan.chao@gmail.com>
Date
Dec 11, 2014, 13:48 UTC
Message-ID
<8195C4C373DD42D6813F0181902AC916@gmail.com>
Greetings,
I have setup a git server for my company, but one problem I found is like the following problem:

[root@localhost objects]# pwd /home/git/repositories/testing.git/objects [root@localhost objects]# ls -l total 0 drwx------ 2 git git 59 Dec 11 03:04 0e drwx------ 2 git git 59 Dec 11 03:14 11 drwx------ 2 git git 59 Dec 11 03:12 1b drwxr-xr-x 2 git git 59 Dec 5 02:53 24 drwx------ 2 git git 59 Dec 11 03:01 39 drwx------ 2 git git 59 Dec 11 03:01 42 drwx------ 2 git git 59 Dec 11 03:01 47 drwxr-xr-x 2 git git 59 Dec 5 02:57 4c

As you can see, on the git server, take a repo ’testing.git’ as example, under the ‘objects’ directory, some sub-directory has 755 mode, but most of them are 700.
To work with reviewboard, I export ‘repositories’ directory to NFS as readonly mode, but I need sub-directories under ‘objects’ to be 755 mode.
Why some of them are of 755 but some 700? How can I set all sub-directories under ‘objects’ to be of 755 mode?

-- Evan Li

Next: Junio C Hamano
Message 1 of 2 in “git objects mode 755 vs 700”
  1. Evan LiDec 11, 2014
  2. Junio C HamanoDec 11, 2014

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.