Page MenuHomeDevCentral

Fix rights issue for staging areas
Open, HighPublic

Description

When pushing a change to D270:

$ arc diff
[...]
PUSH STAGING  Pushing changes to staging area...
The authenticity of host '[devcentral.nasqueron.org]:7022 ([212.129.32.223]:7022)' can't be established.
ECDSA key fingerprint is c7:50:6b:83:f9:73:1b:00:97:1d:f1:36:4e:79:96:23.
No matching host key fingerprint found in DNS.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '[devcentral.nasqueron.org]:7022' (ECDSA) to the list of known hosts.
Counting objects: 6, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (6/6), done.
Writing objects: 100% (6/6), 1.06 KiB | 0 bytes/s, done.
Total 6 (delta 4), reused 0 (delta 0)
remote: error: insufficient permission for adding an object to repository database objects
remote: fatal: failed to write object
error: unpack failed: unpack-objects abnormal exit
To ssh://git@devcentral.nasqueron.org:7022/staging/docker/nginx-php-fpm
 ! [remote rejected] 9c452c1e11f309c67d1d095a3be183b5aba19f65 -> phabricator/diff/627 (unpacker error)
error: failed to push some refs to 'ssh://git@devcentral.nasqueron.org:7022/staging/docker/nginx-php-fpm'
 STAGING FAILED  Unable to push changes to the staging area.
[...]

Related Objects

Event Timeline

dereckson triaged this task as High priority.Feb 5 2016, 02:46
dereckson updated the task description. (Show Details)
dereckson updated the task description. (Show Details)

The staging area directories should be owned by git@, as it's the VCS user.

DevCentral container
$ chown -R git /staging

We'll see how Phabricator plays with these directories. It shouldn't use direct local access but use SSH too in theory, but let's watch if the user and group stay stable.

dereckson removed dereckson as the assignee of this task.Mar 8 2018, 21:07