Merge pull request #1509 from SuperSandro2000/patch-2

Fix webhook-secrets.conf permissions for real
This commit is contained in:
Jörg Thalheim
2025-08-13 06:47:48 +00:00
committed by GitHub

View File

@@ -27,8 +27,8 @@ cat > /var/lib/hydra/secrets/webhook-secrets.conf <<EOF
EOF
# Set secure permissions
chmod 0600 /var/lib/hydra/secrets/webhook-secrets.conf
chown hydra-www:hydra /var/lib/hydra/secrets/webhook-secrets.conf
chmod 0440 /var/lib/hydra/secrets/webhook-secrets.conf
chown hydra:hydra /var/lib/hydra/secrets/webhook-secrets.conf
```
**Important**: Save the generated secrets to configure them in GitHub/Gitea later. You can view them with: