Hide lock files (sync.ffs_lock and temp sync files)

Discuss new features and functions
Posts: 1
Joined: 24 May 2016

ffsuser10

Hi there,

Is there any chance of changing the name of sync.ffs_lock and the temporary files to <dot>sync.ffs_lock (that is, prepend a dot to the current name), and set the hidden mode bits in Windows?
That way, files would be hidden from users in Linux and Windows.

I tried to change this myself in code, but am unable to figure out how to compile it for Windows.

Thanks.
Posts: 13
Joined: 25 Apr 2016

addilapi

+1
User avatar
Site Admin
Posts: 7058
Joined: 9 Dec 2007

Zenju

I'm not sure, maybe it's useful to see sync.ffs_lock as an indicator that someone is currently sync'ing this folder so you probably shouldn't modify it?

If for some reason you don't want FFS's directory locking you can also disable it (See global option LockDirectoriesDuringSync)