Search the Community
Showing results for tags 'mtime'.
Found 1 result
Dear all, I have reached the stage in my evaluation where it seems I cannot use Resilio for my needs. Would love to be corrected :) I have two identical NAS boxes (Netgear, Linux) in two locations. Both are used by multiple users via Windows CIFS shares, and need multiple shares synced. Problem is, Resilio is unable to update mtime timestamps, and this results in a cryptic "initial recheck" errors - and a bit less cryptic "Failed to write attributes" As you probably know, on Linux (which Netgear NAS is), only the OWNER of the file can change file timestamps to anything but current time. And root user, of course. This has nothing to do with setting the files permissions - only with OWNERSHIP. As long as Resilio is running as user that does not own ALL files in a share (or is running as root) - it will therefore fail to set mtime on files it does not own. Having all files owned by a single user is not an option; NAS is used by multiple users, which have multiple accounts, and this absolutely positively has to stay that way. Using Docker or other solutions that mount shares - which could therefore be mounted with alternate owner id is also not an option - both because this would not sync the actual user ownership of the file, and because iNotify won't work on network mounts (and is unusably slow and has limitations on number of monitored directories when using Fuse/Docker mount methods) Having Resilio, which is open to the Internet, run as root is not an option either - for security reasons. AFAIK, Resilio does not have an option to ignore timestamps (as for example rsync and Syncthing do) and it seem to depend on timestamps for detecting changes (which, if correct, is the root cause of my problem it seems) So - is there a way to use Resilio where multiple users own files, and ownership has to be synced? Please note, that any solution that does not preserve file ownership is not an option for me. Not too concerned with timestamps, although it is certainly desirable (setting a synced file mtime to a current time would be OK) Any advice very much appreciated. Thanks, Andrej