macOS does not browse folder on SMB share (folder displayed as light-blue folder)

macOS does not browse a folder on SMB share. The folder displayed as light blue folder. The folder was copied onto this share exactly from the same Mac with the same user. Permissions are 100% okay on the server.

I can happily create a new folder without problems next to it (Co...shows the folder that does not work):

enter image description here

Here is the output when I switch to the share in Terminal and use ls -@ -la:

Mac:share user$ ls -@ -a -l
total 153
drwx------  1 user      staff  16384 Dec 22 20:09 .
drwxr-xr-x@ 7 root      wheel    224 Dec 22 20:08 ..
    com.apple.FinderInfo      32 
-rw-r--r--@ 1 user      staff  10244 Dec 22 20:09 .DS_Store
    com.apple.FinderInfo      32 
drwxrwxrwx  1 user      staff  16384 Dec 13 23:58 .zfs
drwxr-xr-x@ 1 user      staff  16384 Dec 22 12:55 Co......
    com.apple.finder.copy.source.inode#N        8 
    com.apple.finder.copy.source.volumeuuid#N     36 
drwxr-xr-x  1 user      staff  16384 Dec 22 20:08 test

In the samba logs I can see that the Mac accesses all files but they still don't show up.

Also, the directory can be traversed and written to without any issues in Terminal!

Other shares on the same server work well.


For some reason, something was wrong with the file creation date. Which is weird because everything on the Linux side was definitely fine (stat)!

SetFile -d '12/21/2020 01:01:01' Co.....

fixed the issue, as described in Grayed out folder won't open in finder.