Hidden files with Mac and Windows setup

I’m encountering an issue with our current sync setup involving Linux server, macOS and Windows clients.

We have remote users working on a Linux-based Asustor NAS, which uses Syncthing to sync content to my Linux server. Users access the NAS via SMB from their Windows and macOS machines.

The problem is that some files, regardless of whether they originated from Windows or macOS, are becoming hidden. On macOS, they appear hidden even without a leading dot.

image

When I check the file properties on Windows, both the “hidden” and “archive” flags are set.

My suspicion is that Syncthing might be creating temporary files with a leading dot during synchronization, which causes Windows to mark them as hidden. Then, once the sync is complete and the file is renamed to its original name, the “hidden” flag in Windows persists. I’m not entirely sure if this is the mechanism, but it’s what I’ve observed.

Does anyone have any insights or suggestions on how to resolve this?

These aren’t temporary files from Syncthing for sure. These look like (temporary?) files from Adobe programs from my basic research.

Samba has a bug that does precisely this, if that is in the mix.

Yes, this is my first time using this setup with Premiere Pro. The issue appears mainly to the project files created or opened by the users, but some other media files are hidden as well. I haven’t encountered this kind of problem when using Avid Media Composer with Mimiq.

What @calmh wrote above. A quick search told me that Samba has an option called hide dot files which default to true. Maybe try setting it to false? See https://www.samba.org/samba/docs/current/man-html/smb.conf.5.html .

I’ve done this config on both sides (NAS and Server) but didn’t change anything.

I would not be surprised if that flag does not help at all for existing files, so I think you have to “unhide” already existing hidden files.

Yes, indeed. I’ve made this change yesterday, but i’ve also manually removed the flag of hidden files. Checking today, all these files opened and newly created became hidden again. The fact that simply opening the file in Adobe Premiere can cause it to be hidden seems like a unusual behavior for me. Local users in Studio work without these issues, but here they’re all on macOS.

And this happens even though you have hide dot files = false? If so, them something else is needed as well. Sorry but I can’t help more with this. Someone else here who knows more about this?