Page MenuHomePhabricator

dirname(phabricator-ssh-hook.sh) needs to be owned by root too
Closed, ResolvedPublic

Description

Looks like open-ssh requires the directory phabricator-ssh-hook.sh is in to be owned by root as well as the file itself, and we don't explicitly say so in the instructions.

(At least on OpenSSH_6.6.1p1, OpenSSL 1.0.1e-fips 11 Feb 2013)

Event Timeline

avivey updated the task description. (Show Details)
avivey added projects: Documentation, Diffusion.
avivey added a subscriber: avivey.

(This is the 3rd time this came up in IRC). Looks like people are trying to keep phabricator-ssh-hook.sh close to the phabricator code.

Thanks for this, just got caught by it myself.

This also reproduced locally for me (OS X Yosemite, openssh-6.7p1), and chmod on the parent directory alone was reliably sufficient to prevent SSH from working. The instructions already suggest a root-owned location, but D15794 notes this requirement explicitly.