# Automated test System.Engine.Files.MMapFileWrite fails in 5.6 on Linux Server configuration 

**URL:** <https://forums.unrealengine.com/t/automated-test-system-engine-files-mmapfilewrite-fails-in-5-6-on-linux-server-configuration/2674550>\
**Category:** Platform & Builds\
**Tags:** unreal-engine, Epic-Pro-Support, question\
**Created:** [October 8, 2025, 8:27pm UTC](https://forums.unrealengine.com/t/automated-test-system-engine-files-mmapfilewrite-fails-in-5-6-on-linux-server-configuration/2674550 "2025-10-08T20:27:27Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous-edc](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous-edc](https://forums.unrealengine.com/u/anonymous-edc)\
**Post date:** [October 8, 2025, 8:27pm UTC](https://forums.unrealengine.com/t/automated-test-system-engine-files-mmapfilewrite-fails-in-5-6-on-linux-server-configuration/2674550/1 "2025-10-08T20:27:27Z")

</div>

Seems to be happening because the Windows platform file was updated in 5.6 to implicitly create the target file if it’s requested for read/write, while the Linux version still assumes the file already exists. Adding O\_CREAT to the open() flags appears to fix the issue.

---

<div class="post-metadata">

**Author:** ![anonymous-edc](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous-edc](https://forums.unrealengine.com/u/anonymous-edc)\
**Post date:** [October 8, 2025, 8:27pm UTC](https://forums.unrealengine.com/t/automated-test-system-engine-files-mmapfilewrite-fails-in-5-6-on-linux-server-configuration/2674550/2 "2025-10-08T20:27:31Z")

</div>

**Steps to Reproduce**  
Run test System.Engine.Files.MMapFileWrite in a Linux configuration.

---

<div class="post-metadata">

**Author:** ![James\_Singer1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@James\_Singer1](https://forums.unrealengine.com/u/James_Singer1)\
**Post date:** [October 13, 2025, 6:44pm UTC](https://forums.unrealengine.com/t/automated-test-system-engine-files-mmapfilewrite-fails-in-5-6-on-linux-server-configuration/2674550/3 "2025-10-13T18:44:47Z")

</div>

Thanks for the report. I’ve added a ticket to fix it up. It’s too late to make it into the 5.7 release, but I’ll make sure to get it in ASAP.

---

<div class="post-metadata">

**Author:** ![anonymous-edc](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous-edc](https://forums.unrealengine.com/u/anonymous-edc)\
**Post date:** [October 14, 2025, 5:09pm UTC](https://forums.unrealengine.com/t/automated-test-system-engine-files-mmapfilewrite-fails-in-5-6-on-linux-server-configuration/2674550/4 "2025-10-14T17:09:24Z")

</div>

Thanks! Small update, after testing I found it’s also necessary to grow the file to the requested size, again to match the behavior of the Windows platform behavior.

---

<div class="post-metadata">

**Author:** ![James\_Singer1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@James\_Singer1](https://forums.unrealengine.com/u/James_Singer1)\
**Post date:** [October 14, 2025, 6:04pm UTC](https://forums.unrealengine.com/t/automated-test-system-engine-files-mmapfilewrite-fails-in-5-6-on-linux-server-configuration/2674550/5 "2025-10-14T18:04:11Z")

</div>

Yup, I just made that change myself. 🙂
