Applies to · TP-Link ER605 v2 · OpenWrt SNAPSHOT · Knot DNS
What to check
Extract the first path causing a write rejection from the logs, and compare it against the running user, parent directory permissions, and UID/GID prior to backup and recovery.
Connect over Ethernet and run the following commands in an SSH session on the router.
id knot
logread -e knot
sysupgrade -l
How to interpret the result
Extract the specific path denied from the log, then compare it against the numeric owner of the knot account and the directory. If the owner has been changed, restore the original ownership record for the target directory. If the owner is correct, check whether the mount is read-only or if there is insufficient space; do not recursively relax permissions.
Verify and recover
Check that Knot can update a test zone under its intended account and answer a query. Restore the recorded permissions only on the affected directories.
Related guide · Where to capture packets on OpenWrt when a TCP handshake times out
Comments