Are you running out of local disk space by any chance? macOS has a feature where files stored in iCloud are removed from the local computer if disk space is getting low.
You can change the setting in System Preferences > iCloud > iCloud Drive Options. Uncheck “Optimize Mac Storage”.
Comments
Are you running out of local disk space by any chance? macOS has a feature where files stored in iCloud are removed from the local computer if disk space is getting low.
You can change the setting in System Preferences > iCloud > iCloud Drive Options. Uncheck “Optimize Mac Storage”.
Yes. That's the featured that caused the file to be removed.
It's just that I didn't expect macOS to remove a file while it was open.