Cannot set directory locks: Would like to IGNORE warning.

Get help for specific problems
Posts: 6
Joined: 25 May 2020

PatrickT

I am sync-ing left to write, with read permission but no write permission on the left. I wish to keep it that way (as I'm sync-ing system directories that I do not want to accidentally overwrite/edit).

As reported by many users, if one doesn't have/allow permission access to certain directories, the warning `Cannot set directory locks for the following folders:` is produced.

Can I disable the warning?

Inspection suggests that the directory content is copied as desired. However, a red octagon with a white cross is showing instead of a green tick. I'd like to have a green tick since I'd like to ignore the warning. Possible?

Thanks!
Posts: 6
Joined: 25 May 2020

PatrickT

If this feature is not yet implemented, maybe in a future release the icon can be an orange tick: something between the green tick and the red cross. Thanks!
User avatar
Posts: 2430
Joined: 22 Aug 2012

Plerry

You can disable directory locking (and thus avoid the warning) by setting the LockDirectoriesDuringSync flag to False. See here.
Posts: 6
Joined: 25 May 2020

PatrickT

Thanks Plerry, I hadn't thought of that. I understand that directory locking prevents problems when multiple tasks are concurrent. Does that mean when several instances of FFS are running? I usually sync several directories from A to B, are there situations where it wouldn't be safe to disable locking? Thanks!
User avatar
Posts: 2430
Joined: 22 Aug 2012

Plerry

Directory locking is intended to prevent that multiple instances of FFS (running on the same or on different machines) are simultaneously running a (FFS) sync to/from one and the same location.
Multiple simultaneous FFS instances running a sync to/from non-overlapping locations is never a problem.
Posts: 6
Joined: 25 May 2020

PatrickT

Got it, thanks Plerry!