Syncthing allows to synchronize file ownership data. To be usable, a users of same UID/GID must exist in both systems.
A configuration table asking for username, uid, gid would be necessary to provide the information. Minimum UID /GID of 1_000 should be applied.
In run.sh users would have to be created/deleted according to configuration. Syncthing would keep running as root in order to fully support all ownership/rights combinations.
Syncthing allows to synchronize file ownership data. To be usable, a users of same UID/GID must exist in both systems.
A configuration table asking for username, uid, gid would be necessary to provide the information. Minimum UID /GID of 1_000 should be applied.
In
run.shusers would have to be created/deleted according to configuration. Syncthing would keep running as root in order to fully support all ownership/rights combinations.