1

I tried to clone a gitosis repository and got the error:

ERROR:gitosis.app:Unable to read config file: [Errno 13] Permission denied: '/sr v/gitosis/.gitosis.conf' fatal: The remote end hung up unexpectedly

The permission of gitosis.conf is set to 755. I also checked the folders and make sure that owner is gitosis. I cannot see anything wrong with permission. What could be the reason for this error?

user1558297
  • 63
  • 1
  • 7
  • What are the permissions on the *parent* directories? Maybe on of those parent directory doesn't allow access to the sub-elements (which includes `.gitosis.conf`) – VonC Dec 18 '12 at 07:49

2 Answers2

1

Thanks. Yes, the repositories directory is not owned by gitosis. Cloned successfully after updating it.

user1558297
  • 63
  • 1
  • 7
0

"su - git" to git user and
cat the gitosis.conf file.
if you cannot see the content of the file. then you need to fix the ownership and permmisson of file or the path nodes along the path of the file.

Bill Z

Bill Z
  • 1
  • 1