afalout Posted June 10, 2018 Report Share Posted June 10, 2018 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 Quote Link to comment Share on other sites More sharing options...
Gane O'dwyer Posted June 11, 2018 Report Share Posted June 11, 2018 @afalout Sync doesn't sync the files/folders permissions and for this reasons folders have to be with read- write permissions. Quote Link to comment Share on other sites More sharing options...
afalout Posted June 14, 2018 Author Report Share Posted June 14, 2018 @Gane O'dwyer 1) I did not even mention "sync (of) the files/folders permissions" in my OP. It is irrelevant for the question/problem as I do not seek to have permissions synced 2) "folders have to be with read- write permissions" - they do. It is also irrelevant for the question/problem Thanks, Andrej Quote Link to comment Share on other sites More sharing options...
Gane O'dwyer Posted June 14, 2018 Report Share Posted June 14, 2018 @afalout Sorry for the my inattention. Please do contact support as I think that we have a solution for you. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.