mirror of
https://github.com/rommapp/romm.git
synced 2026-06-28 06:46:00 +00:00
The SSH sync handler is instantiated at module import time, so any PermissionError on mkdir would crash the entire app rather than just disabling the push-pull sync feature. This affected users whose /romm mount didn't include a writable sync subdirectory (common on Unraid and similar setups that mount specific subpaths). Mirror the FSHandler pattern: log a warning and continue. Keys are expected to be pre-mounted per the module docstring, and _resolve_key_path already handles a missing directory gracefully. Fixes #3419