[global] # Unraid turns this on for backwards compatibility # we don't want every file to be executable, that annoys macOS Gatekeeper acl allow execute always = no # Unraid turns ancient Windows auth back on for compatibility # with Windows prior to Win2k. I'm not running anything that old. ntlm auth = ntlmv2-only # Pretend we're a rackmount Mac Pro 2018 # This should also be set in /etc/avahi/services/smb.service fruit:model = MacPro7,1@ECOLOR=226,226,224 # Occasionally macOS saves a zero-byte resource fork. We can automatically discard them fruit:delete_empty_adfiles = yes # Occasionally macOS saves a resource fork with only a string saying it's left blank. # Discard them. fruit:wipe_intentionally_left_blank_rfork = yes # Skip looking up user permissions for each file when listing directories # This is an expensive lookup, skipping it will make macOS think it has full access readdir_attr:aapl_max_access = no # Don't hide ._ files. Hiding them avoids showing resource fork files when they # shouldn't be, but can break anything else that creates files beginning with ._ fruit:veto_appledouble = no # duplicate files server-side #fruit:copyfile = yes # store filenames with ntfs-illegal characters fruit:encoding = native # don't sync to disk just because the client wants us to # this probably isn't smart, but I'm doing it anyway strict sync = no aio read size = 1 aio write size = 1 # Claim writes for these files are successful before we know for sure. # May cause data loss, but will anyone care? aio write behind = /*.tmp/.DS_Store/ #vfs_recycle_start #Recycle bin configuration [global] syslog only = No syslog = 0 logging = 0 log level = 0 vfs:0 #vfs_recycle_end