September 11, 20232 yr Hi! I have some strange SMB behavior when accessing a Unraid share (6.12.3) NB! This only happens on Mac. If I mount the share on Linux or Windows, everything works fine and I do not have these issues. Steps to reproduce: 1. Create file on Mac or server - e.g. echo "test" > aaa.txt 2. Do "ls aa*" in Mac terminal or browse folder in Finder 3. Observe that file is not found 4. Do "ls -la aaa.txt" and observer that file actually is found. Do "open aaa.txt" and observe that files is actually opened. So for some reason it will not list/browse file, but the file is there: steinrr@SteinsMacStudio tria % ls aa* zsh: no matches found: aa* steinrr@SteinsMacStudio tria % ls -la aaa.txt -rwx------ 1 steinrr staff 5 Sep 11 22:00 aaa.txt If I mount using NFS, the file shows with no issues and is browsable: steinrr@SteinsMacStudio tria % ls aa* aaa.txt steinrr@SteinsMacStudio tria % ls -la aaa.txt -rwxrw-rw- 1 1000 _lpoperator 5 Sep 11 22:00 aaa.txt I can also open the file - e.g. using history in Excel - even if I cannot browse the file. I checked the file - it has correct permissions and nothing special - it has the same permissions, ownership and attributes as all other files in the folder. NB! This just happens for new files, all old files existing on the shares before I probably tweaked smb-fruit.conf is showing fine. What can be wrong here? I did experiment with some fruit-settings to make SMB working better on Mac and I guess some of these might cause issues Here are my current smb-fruit.conf: root@stardustunraid:~# cat /boot/config/smb-fruit.conf vfs objects = catia fruit streams_xattr fruit:metadata = stream fruit:encoding = native fruit:posix_rename = yes Maybe there is something here that should not be set like this? How does default smb-fruit look? Best regards, Stein Rune Risa Edited September 11, 20232 yr by ziggy99
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.