I'm not good at English, so I'll translate Japanese into English with Deepl and post it.
About the SMB sharing problem
I was sharing two folders
Let's say folder A and folder B for convenience
Both A and B have more than 3 levels of subdirectories.
I can connect to folder A by SMB without any problem
But when I double click on folder B, everything freezes.
I guessed that folder B contained some kind of problem, so I looked for a custom icon and deleted it, but that didn't solve it.
In the course of my research, I learned that Macs have something called "extended attributes".
When I ran the "ls -l@" command in the terminal app for folder A and B respectively, I found that folder B had a lot of "@" indicating the extended attribute.
In a comment a while ago, "ddhawk" introduced the following command
xattr -c /Volumes/NameOfSharedFolder
I decided to add -r to it to handle folder B all the way down to the subdirectories
xattr -c -r /Volumes/FolderB
Then I restarted my Mac and turned on file sharing
To my surprise, the results are very good so far and the contents of folder B are quickly displayed!
It has been 2 hours since then and so far no problems!
However, I still don't know what the result of removing all the extended attributes will be, but I don't regret it!
Translated with
www.DeepL.com/Translator (free version)