Forum README: correct the Synology permission notes

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01YDRjtmAiNpo5mK5N3d7QwZ
This commit is contained in:
2026-10-13 19:24:46 +02:00
co-authored by Claude Opus 5.5
parent 7d3b1bec89
commit 7edf5ff4a9
+8 -4
View File
@@ -108,14 +108,18 @@ the existing folder (it contains no `config.php`), then `php flarum migrate` and
--no-same-owner --no-same-permissions --exclude=./storage --exclude=./public/assets' \ --no-same-owner --no-same-permissions --exclude=./storage --exclude=./public/assets' \
< forum/import/forum.tar.gz < forum/import/forum.tar.gz
`--no-overwrite-dir` matters on the Synology: without it tar resets the folders it touches to Unpacking resets the folders it touches to plain Unix permissions on the Synology (even with
plain Unix permissions, which drops the ACL entry that lets `http` write, and the forum answers `--no-overwrite-dir`), which drops the ACL entry that lets `http` write: the forum then answers
500. Repair, as the folder's owner (repeat for `public`, `public/assets`, `vendor`, `packages`): 500. Repair, as the folder's owner (the forum folder, `public`, `public/assets`, `vendor`,
`packages`):
/usr/syno/bin/synoacltool -add <folder> "user:http:allow:rwxpdDaARWc--:fd--" /usr/syno/bin/synoacltool -add <folder> "user:http:allow:rwxpdDaARWc--:fd--"
and add the same entry for your own account and `group:administrators` right after, or the and add the same entry for your own account and `group:administrators` right after, or the
folder is closed to you. folder is closed to you. Do not use `-enforce-inherit` or `-copy` on a plain-permission file:
they leave it with an empty ACL (no access at all; `chmod 644`/`755` brings it back). The
simpler alternative, used for the WordPress folder: plain permissions with the group `http`
(`chgrp -R http . && chmod -R g+rwX .`).
The bundle includes the spam filter `fof/anti-spam` (StopForumSpam check at registration, tools The bundle includes the spam filter `fof/anti-spam` (StopForumSpam check at registration, tools
to remove a spammer); enable it with `php flarum extension:enable fof-anti-spam` (it needs to remove a spammer); enable it with `php flarum extension:enable fof-anti-spam` (it needs