git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Evan Li <li.evan.chao@gmail.com>
To: git@vger.kernel.org
Subject: git objects mode 755 vs 700
Date: Thu, 11 Dec 2014 21:48:09 +0800	[thread overview]
Message-ID: <8195C4C373DD42D6813F0181902AC916@gmail.com> (raw)

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

             reply	other threads:[~2014-12-11 13:48 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-11 13:48 Evan Li [this message]
2014-12-11 22:50 ` git objects mode 755 vs 700 Junio C Hamano

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=8195C4C373DD42D6813F0181902AC916@gmail.com \
    --to=li.evan.chao@gmail.com \
    --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;
as well as URLs for NNTP newsgroup(s).