git objects mode 755 vs 700

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]