Mac Droppings, as they are unaffectionately known, are a source of pain for many cross platform users. Its particularly annoying when they appear in shared drives.
To disable these droppings, you’ll need to configure your user account to not create them on network drives.
Open your terminal
Restart your Mac.
That should do the trick.
Source: Mini System Administrator’s FAQ