Skip to content

Instantly share code, notes, and snippets.

@czombos
Last active December 26, 2023 16:45
Show Gist options
  • Save czombos/04c24151e733d0e6e9eca7773137dd70 to your computer and use it in GitHub Desktop.
Save czombos/04c24151e733d0e6e9eca7773137dd70 to your computer and use it in GitHub Desktop.
Configure Samba to Work Better with Mac OS X
[global]
use sendfile = yes
allow insecure wide links = yes
min protocol = SMB2
vfs objects = catia fruit streams_xattr
fruit:aapl = yes
fruit:nfs_aces = no
fruit:model = Xserve
fruit:resource = stream
fruit:metadata = stream
[www]
path = /var/www
valid users = www-data,dezs
force user = www-data
force group = www-data
available = yes
browseable = yes
writeable = yes
create mask = 0660
directory mask = 0770
wide links = yes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment