Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14357331
D15794.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1018 B
Referenced Files
None
Subscribers
None
D15794.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D15794: Include directory-ownership note in `sshd` setup instructions
Attached
Detach File
Event Timeline
Log In to Comment