Page MenuHomePhabricator

D15794.diff
No OneTemporary

D15794.diff

diff --git a/src/docs/user/userguide/diffusion_hosting.diviner b/src/docs/user/userguide/diffusion_hosting.diviner
--- a/src/docs/user/userguide/diffusion_hosting.diviner
+++ b/src/docs/user/userguide/diffusion_hosting.diviner
@@ -200,10 +200,16 @@
**Create `phabricator-ssh-hook.sh`**: Copy the template in
`phabricator/resources/sshd/phabricator-ssh-hook.sh` to somewhere like
`/usr/libexec/phabricator-ssh-hook.sh` and edit it to have the correct
-settings. Then make it owned by `root` and restrict editing:
+settings.
- sudo chown root /path/to/phabricator-ssh-hook.sh
- sudo chmod 755 /path/to/phabricator-ssh-hook.sh
+Both the script itself **and** the parent directory the script resides in must
+be owned by `root`, and the script must have `755` permissions:
+
+```
+$ sudo chown root /path/to/somewhere/
+$ sudo chown root /path/to/somewhere/phabricator-ssh-hook.sh
+$ sudo chmod 755 /path/to/somewhere/phabricator-ssh-hook.sh
+```
If you don't do this, `sshd` will refuse to execute the hook.

File Metadata

Mime Type
text/plain
Expires
Sat, Dec 21, 4:00 AM (16 h, 8 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6912727
Default Alt Text
D15794.diff (1018 B)

Event Timeline