I'm at my wit's end with this. Brand new unraid install 6.12.6
1. Run Tools > New Permissions on <share1>
2. Create a new Share for <share2>. Primary=Array, no Secondary. SMB Export=Yes, Security=Private. Added Read/Write access for my user.
3. From terminal, copy all subdirectories from share1 to share2
cp -r /mnt/user/share1/* /mnt/user/share2/
All files and dir are assigned to root:root after this copy, so run Tools > New Permission on <share2>
4. From Windows machine, navigate to \\unraid\share2, authenticate, and only some of the subdirectories are visible. Try to directly navigate to "hidden" subdirs and Windows reports unavailable. Try from different Windows machine and same behavior is observed. Both Windows machines have file explorer configured to see hidden and system files, etc.
Two example dirs, one that can be seen over the SMB share and one that cannot appear to have all the same settings
root@unraid:/mnt/user# ls -ld share2/X.\(2006\)
drwxrwxrwx 1 nobody users 123 Dec 27 13:35 share2s/X/
root@unraid:/mnt/user# ls -ld share2/Y.\(1994\)
drwxrwxrwx 1 nobody users 108 Dec 27 13:36 share2/Y/
same for file contents, etc. I'm not sure what else to check, this seems very bizarre to me. All files and directories involved use alphanumeric character plus parentheses and periods only. All subdirectories and files are visible from terminal, just not via SMB on Windows.
Previous server unraid 6.9.2 doesn't appear to have any issues with the same directories. If I copy over files from the older unraid server to the new one via Windows rather than rsync on the destination server directly, I don't see to have this issue (but that's much much slower, etc.)
Diagnostics does not appear to contain anything interesting, no errors. syslog.txt looks good etc. I'd prefer not to share it on a public forum since it does contain a decent amount of personal info even when "anonymized".