diff --git a/LaunchAPPL/Client/MiniVMac.cc b/LaunchAPPL/Client/MiniVMac.cc index 4312cd7ef2..3426f33d88 100644 --- a/LaunchAPPL/Client/MiniVMac.cc +++ b/LaunchAPPL/Client/MiniVMac.cc @@ -460,6 +460,8 @@ void MiniVMacLauncher::CopySystemFile(const std::string &fn, bool required) hfs_setfork(out, 1); hfs_read(in, buffer.data(), fileent.u.file.rsize); hfs_write(out, buffer.data(), fileent.u.file.rsize); + fileent.fdflags &= ~HFS_FNDR_HASBEENINITED; + hfs_fsetattr(out, &fileent); hfs_close(in); hfs_close(out); }