Issue details

When performing file operations (moves, renames, deletes, etc.) the Mac OS (OS X) finder brings up a dialog message saying that the file is in use, even when it does not appear a program is using the file.


Solution

The cause of this message is often caused by the way that Mac OS (OS X) finder works, by storing folder metadata as hidden ‘.DS_Store’ files. These files can remain open and be used by the OS even when the folder does not appear to be open. To disable .DS_Store file generation on network shares, do the following as an administrator:

  1. Open the ‘Terminal’ application

  2. Paste the command below

    sudo defaults write com.apple.desktopservices DSDontWriteNetworkStores -bool TRUE
    CODE

  3. Enter your administrator credentials if prompted

  4. Log out for changes to take effect


Created

Resolved

Status

WORKAROUND

References

https://support.apple.com/en-gb/HT208209