by js2 · 4y ago · 0 comments
You can configure Samba to store resource forks using xattrs instead. See fruit:resource:
https://www.samba.org/samba/docs/current/man-html/vfs_fruit....
You can veto the .DS_Store files. The consequence to Mac users is that the Finder won't remember any display changes they make to windows that correspond to network folders.
https://www.samba.org/samba/docs/current/man-html/smb.conf.5...
veto files = /._*/.DS_Store/.Trashes/.TemporaryItems/
delete veto files = yes
The second line allows vetoed files to be deleted. Otherwise, already existing vetoed files would be stuck on the drive.(Note that "._*" prevents HFS+/APFS extended attributes from being stored on the SMB drive.)
Good. Why would one user's view preferences have an effect on another user? That is what happens if .DS_Store files are left on the server.
If you have readonly access to the folders you can't persist a change to the layout.
defaults write com.apple.desktopservices DSDontWriteNetworkStores -bool TRUE
You can't, as far as I know, do the same for locally mounted/connected drives, though.