when I try to activate a new git repository in Diffusion it fails with this Error:
Pull of 'reponame' failed: Command failed with error #128! COMMAND git init --bare -- /var/repo/1 STDOUT (empty) STDERR fatal: cannot mkdir /var/repo/1: Permission denied
Some basic information:
My VCS user is ‘git’
My daemon user is ‘phabricator-daemon’
Now when I look at my /var/repo folder it has these permissions
drw-rw-rw- 2 phabricator-daemon phabricator-daemon 4096 May 25 21:58 repo
This old forum post (https://secure.phabricator.com/T9048) says that the /var/repo/ directory needs to be owned by the daemon user, which it is.
I have also tried with different groups and owners.
I don’t see why it fails with missing permissions when the folder is read and write for all users and groups, and the daemon users
Thanks in advance,