# Remote build cygwin permission denied on windows 10

**URL:** <https://forums.unrealengine.com/t/remote-build-cygwin-permission-denied-on-windows-10/404824>\
**Category:** Platform & Builds\
**Tags:** remote-build, ios-ipa, permission, unreal-engine, iOS, build-failed, question\
**Created:** [September 17, 2017, 9:29pm UTC](https://forums.unrealengine.com/t/remote-build-cygwin-permission-denied-on-windows-10/404824 "2017-09-17T21:29:15Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![GizmoMKD](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@GizmoMKD](https://forums.unrealengine.com/u/GizmoMKD)\
**Post date:** [September 17, 2017, 9:29pm UTC](https://forums.unrealengine.com/t/remote-build-cygwin-permission-denied-on-windows-10/404824/1 "2017-09-17T21:29:15Z")

</div>

Hey Guys,

I’m trying a remote build from windows to my mac but i’m getting this weird problem.

```
LogPlayLevel: UnrealBuildTool: Compiling with iPhoneOS SDK 10.3 on Mac 192.168.1.xx
LogPlayLevel: UnrealBuildTool: Warning: Identity file /cygdrive/C/Users/myUser/AppData/Roaming/Unreal Engine/UnrealBuildTool/SSHKeys/192.168.1.xx/myUser/RemoteToolChainPrivate.key not accessible: No such file or directory.
LogPlayLevel: UnrealBuildTool: Permission denied, please try again.
LogPlayLevel: UnrealBuildTool: Permission denied, please try again.

```

Whatever i tried on my private file changing didn’t help, i had a lot trouble with the warning “your private key is accessible by others” then i limit my user only to read and added users group with full permission or read and played around no help…

---

<div class="post-metadata">

**Author:** ![GizmoMKD](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@GizmoMKD](https://forums.unrealengine.com/u/GizmoMKD)\
**Post date:** [September 18, 2017, 5:57pm UTC](https://forums.unrealengine.com/t/remote-build-cygwin-permission-denied-on-windows-10/404824/2 "2017-09-18T17:57:46Z")

</div>

bump!!! need suggestion

---

<div class="post-metadata">

**Author:** ![GizmoMKD](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@GizmoMKD](https://forums.unrealengine.com/u/GizmoMKD)\
**Post date:** [September 19, 2017, 7:09pm UTC](https://forums.unrealengine.com/t/remote-build-cygwin-permission-denied-on-windows-10/404824/3 "2017-09-19T19:09:57Z")

</div>

bump looking for solution still

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_35b082b8](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_35b082b8](https://forums.unrealengine.com/u/anonymous_user_35b082b8)\
**Post date:** [October 18, 2017, 3:12am UTC](https://forums.unrealengine.com/t/remote-build-cygwin-permission-denied-on-windows-10/404824/4 "2017-10-18T03:12:19Z")

</div>

Same issue here… Seems like cygwin cannot see windows permissions properly. Strange enough remote builds were working just fine 2 days ago.

---

<div class="post-metadata">

**Author:** ![GizmoMKD](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@GizmoMKD](https://forums.unrealengine.com/u/GizmoMKD)\
**Post date:** [October 19, 2017, 8:09am UTC](https://forums.unrealengine.com/t/remote-build-cygwin-permission-denied-on-windows-10/404824/5 "2017-10-19T08:09:09Z")

</div>

long time nothing from epic…

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_35b082b8](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_35b082b8](https://forums.unrealengine.com/u/anonymous_user_35b082b8)\
**Post date:** [October 22, 2017, 10:30pm UTC](https://forums.unrealengine.com/t/remote-build-cygwin-permission-denied-on-windows-10/404824/6 "2017-10-22T22:30:03Z")

</div>

Re-installed Windows 10, installed only the required deps for a clean unreal development environment (VS2015, git, etc) and now it’s working fine, no more “ssh key file permissions issue”.  
There seems to have some issue between the Rsync version bundled with the deltacopy bundled with the UnrealEngine and some other thing installed on my system.

Some steps that I tried to troubleshoot the problem (after trying to solve it by fixing all the file permissions mess with NTFS and cygwin) though I never got the remote build working: I tried to manually run the exact same command with the same args that the Unreal Build Tool did with the bundled rsync.exe and got the same errors. Then I ran it again, with the same args with an updated version of rsync.exe (from my cygwin bin dir) and it ran just fine.

---

<div class="post-metadata">

**Author:** ![GizmoMKD](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@GizmoMKD](https://forums.unrealengine.com/u/GizmoMKD)\
**Post date:** [October 24, 2017, 1:18pm UTC](https://forums.unrealengine.com/t/remote-build-cygwin-permission-denied-on-windows-10/404824/7 "2017-10-24T13:18:51Z")

</div>

no comment, i wont format my pc just for this… epic needs to fix this issue.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_eed7b587](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_eed7b587](https://forums.unrealengine.com/u/anonymous_user_eed7b587)\
**Post date:** [November 29, 2017, 9:23pm UTC](https://forums.unrealengine.com/t/remote-build-cygwin-permission-denied-on-windows-10/404824/8 "2017-11-29T21:23:32Z")

</div>

Try running the engine directly from its folder as administrator.  
I.e . right click \UE\_4.18\Engine\Binaries\Win64\UE4Editor-Cmd.exe and select Run as administrator. Then load the project from the engine’s project browser that opens.  
You can also go to the exe file properties \> Compatibility and check the Run this program as administrator. Then you can launch the project in every way you’d like.

That did the trick for me.

---

<div class="post-metadata">

**Author:** ![xadamxful](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@xadamxful](https://forums.unrealengine.com/u/xadamxful)\
**Post date:** [October 23, 2019, 5:31pm UTC](https://forums.unrealengine.com/t/remote-build-cygwin-permission-denied-on-windows-10/404824/9 "2019-10-23T17:31:56Z")

</div>

Same, I had to delete all existing SSH keys then recreate them and run UE4 as admin.
