# Error: EPERM: operation not permitted, open

**URL:** <https://community.localwp.com/t/error-eperm-operation-not-permitted-open/37481>\
**Category:** Support\
**Tags:** windows, windows-10\
**Created:** [June 15, 2023, 2:29pm UTC](https://community.localwp.com/t/error-eperm-operation-not-permitted-open/37481 "2023-06-15T14:29:32Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![BlackStar1991](https://avatars.discourse-cdn.com/v4/letter/b/9fc29f/32.png) [@BlackStar1991](https://community.localwp.com/u/BlackStar1991)\
**Post date:** [June 15, 2023, 2:29pm UTC](https://community.localwp.com/t/error-eperm-operation-not-permitted-open/37481/1 "2023-06-15T14:29:32Z")

</div>

When instaling new project from WP Engine get problem “Error: EPERM: operation not permitted, open”

 ![Local 2023-06-15 17.22.47](https://us1.discourse-cdn.com/flex019/uploads/lwpforums/original/3X/d/e/de23ac0940d1e7dd0b4c8cd8ca20187a4e27b599.png)

And I have problem with wp-config.php after that incorrect instaling. ( DNS\_PROBE\_FINISHED\_NXDOMAIN ) Do you have any tips to fix this problem ?

---

<div class="post-metadata">

**Author:** ![sambrockway](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/sambrockway/32/18726_2.png) [@sambrockway](https://community.localwp.com/u/sambrockway)\
**Post date:** [June 15, 2023, 5:23pm UTC](https://community.localwp.com/t/error-eperm-operation-not-permitted-open/37481/2 "2023-06-15T17:23:10Z")

</div>

Hi there, @BlackStar1991 -

Do you have anti-virus software installed on your computer that may be causing issues?

Here is some information and troubleshooting steps you can try related to anti-virus + Windows:

> [@Help! I'm running into an EPERM error with the hosts file on Windows](http://community.localwp.com/t/help-im-running-into-an-eperm-error-with-the-hosts-file-on-windows/3508):
>
> This is usually caused by the hosts file being set to read-only or locked by anti-virus. 1. Remove Read-only Attribute Go to C:\Windows\System32\drivers\etc Right-click on the hosts file and go to “Properties” Uncheck “Read-only” Click “Apply” Re-open Local Screenshot 2. Anti-Virus/Internet Security Avira See [https://answers.avira.com/en/question/avira-blocks-hosts-file-what-can-i-do-90](https://answers.avira.com/en/question/avira-blocks-hosts-file-what-can-i-do-90)Kaspersky Total Security Open Kaspsersky Total Security Go to “More Tools” Go …

Let’s start there!

---

<div class="post-metadata">

**Author:** ![BlackStar1991](https://avatars.discourse-cdn.com/v4/letter/b/9fc29f/32.png) [@BlackStar1991](https://community.localwp.com/u/BlackStar1991)\
**Post date:** [June 15, 2023, 5:50pm UTC](https://community.localwp.com/t/error-eperm-operation-not-permitted-open/37481/3 "2023-06-15T17:50:04Z")

</div>

Unfortunately it did not help. Now I see this error when I try to go to the home page of the site

 ![22](https://us1.discourse-cdn.com/flex019/uploads/lwpforums/original/3X/8/9/895231e9ec8647e0c52de22dff5d6ef5ee830ac1.png)  
Do you have any other ideas how to solve the problem? Thank you

Whene I try to pull project from server I got.

> **[monosnap.com](https://monosnap.com/file/XQrcWY6TVX9JsutNaCPxsga1pT50Eg)**
>
> Monosnap screenshot tool for Mac and PC with own cloud storage. Take screenshots, record videos and upload files directly to the cloud. Just in one click.

---

<div class="post-metadata">

**Author:** ![sambrockway](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/sambrockway/32/18726_2.png) [@sambrockway](https://community.localwp.com/u/sambrockway)\
**Post date:** [June 15, 2023, 5:56pm UTC](https://community.localwp.com/t/error-eperm-operation-not-permitted-open/37481/4 "2023-06-15T17:56:15Z")

</div>

Hi there,

Can you provide a little more information about your set up?

- Operating System
- Local version
- Local site details

Also, can you provide your Local logs? You can do that following this help doc:

> **[Retrieving Local’s Log File](https://localwp.com/help-docs/troubleshooting/retrieving-locals-log-file/)**
>
> A big part of troubleshooting errors, on any website or application, is the log file. This file contains a record of actions or errors that have occurred when a process is done. When reaching out for…

Sam

---

<div class="post-metadata">

**Author:** ![BlackStar1991](https://avatars.discourse-cdn.com/v4/letter/b/9fc29f/32.png) [@BlackStar1991](https://community.localwp.com/u/BlackStar1991)\
**Post date:** [June 15, 2023, 6:41pm UTC](https://community.localwp.com/t/error-eperm-operation-not-permitted-open/37481/5 "2023-06-15T18:41:41Z")

</div>

1. Windows 10 x 64
2. Local Version 7.0.1  
3)… Simple WP site  
[local-logs.zip](https://community.localwp.com/uploads/short-url/3mi7W6OPn2I0S01TTKutGTcGfsO.zip) (14.2 KB)

This site worked but once apone time whene I try pulling it crushed. I tryed reinstall all files, but it don’t help.

 ![Error 2023-06-15 21.53.38](https://us1.discourse-cdn.com/flex019/uploads/lwpforums/original/3X/f/e/fec2167af46343fa1107e74db0fabcec14a933a3.png)

---

<div class="post-metadata">

**Author:** ![sigmabold](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/sigmabold/32/18909_2.png) [@sigmabold](https://community.localwp.com/u/sigmabold)\
**Post date:** [July 14, 2023, 12:53am UTC](https://community.localwp.com/t/error-eperm-operation-not-permitted-open/37481/6 "2023-07-14T00:53:27Z")

</div>

I’m having this exact same issue - windows 11 running the lastest version of local. Any word on what’s causing this?

---

<div class="post-metadata">

**Author:** ![Nick-B](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/nick-b/32/16140_2.png) [@Nick-B](https://community.localwp.com/u/Nick-B)\
**Post date:** [July 14, 2023, 1:29pm UTC](https://community.localwp.com/t/error-eperm-operation-not-permitted-open/37481/7 "2023-07-14T13:29:21Z")

</div>

Hi @sigmabold

This issue is normally tied to a security setting or feature that is blocking Local. As Sam shared above, usually this is the best place to start:

> [@Help! I'm running into an EPERM error with the hosts file on Windows](https://community.localwp.com/t/help-im-running-into-an-eperm-error-with-the-hosts-file-on-windows/3508):
>
> This is usually caused by the hosts file being set to read-only or locked by anti-virus. 1. Remove Read-only Attribute Go to C:\Windows\System32\drivers\etc Right-click on the hosts file and go to “Properties” Uncheck “Read-only” Click “Apply” Re-open Local Screenshot 2. Anti-Virus/Internet Security Avira See [https://answers.avira.com/en/question/avira-blocks-hosts-file-what-can-i-do-90](https://answers.avira.com/en/question/avira-blocks-hosts-file-what-can-i-do-90)Kaspersky Total Security Open Kaspsersky Total Security Go to “More Tools” Go …

@BlackStar1991

Are you still having this issue? Based on your screenshot, it still seems like there is some sort of permission block or hang up on your machine. Do your other sites work normally? Or does this happen for all sites now?

---

<div class="post-metadata">

**Author:** ![BlackStar1991](https://avatars.discourse-cdn.com/v4/letter/b/9fc29f/32.png) [@BlackStar1991](https://community.localwp.com/u/BlackStar1991)\
**Post date:** [July 14, 2023, 1:46pm UTC](https://community.localwp.com/t/error-eperm-operation-not-permitted-open/37481/8 "2023-07-14T13:46:42Z")

</div>

I don’t know what exactly helped me solve this problem. Everything is working fine now. The problem was exactly for the current project, other sites in Local worked fine

---

<div class="post-metadata">

**Author:** ![Nick-B](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/nick-b/32/16140_2.png) [@Nick-B](https://community.localwp.com/u/Nick-B)\
**Post date:** [July 14, 2023, 1:54pm UTC](https://community.localwp.com/t/error-eperm-operation-not-permitted-open/37481/9 "2023-07-14T13:54:09Z")

</div>

Glad to hear things are working again for you at least! Thank you for letting us know!

---

<div class="post-metadata">

**Author:** ![sigmabold](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/sigmabold/32/18909_2.png) [@sigmabold](https://community.localwp.com/u/sigmabold)\
**Post date:** [July 14, 2023, 2:38pm UTC](https://community.localwp.com/t/error-eperm-operation-not-permitted-open/37481/10 "2023-07-14T14:38:12Z")

</div>

This is not the issue. I can boot up a new site just fine. But if I try to import a new site from wp engine via the api connect it fails. If I create a new blank site first and then import over it, it also works. Something is clearly wrong with the import function. My hosts file is not locked, I only use the native security that comes with windows 11.

---

<div class="post-metadata">

**Author:** ![Nick-B](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/nick-b/32/16140_2.png) [@Nick-B](https://community.localwp.com/u/Nick-B)\
**Post date:** [July 14, 2023, 2:46pm UTC](https://community.localwp.com/t/error-eperm-operation-not-permitted-open/37481/11 "2023-07-14T14:46:00Z")

</div>

You could start be resetting your API credentials if you haven’t done so already:

> **[Troubleshooting Connect to WP Engine](https://localwp.com/help-docs/troubleshooting/troubleshooting-local-connect-with-wp-engine/)**
>
> Most issues connecting to WP Engine via Local Connect can be solved by re-authenticating the API. First, you'll want to head to your User Portal and generate some new API credentials. See WP Engine'

Is the site you’re trying to connect with overly large? Does it have a lot of media or a big DB?

If you’re still having problems after a reset let us know and please share your most recent Local Log:

[Retrieving Local’s Log File](https://localwp.com/help-docs/troubleshooting/retrieving-locals-log-file/#download-local-logs)

If you’re a WPE customer you can also chat with their live support or get a ticket created 24/7 if you need more immediate support.

---

<div class="post-metadata">

**Author:** ![system](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/system/32/1_2.png) [@system](https://community.localwp.com/u/system)\
**Post date:** [October 12, 2023, 2:46pm UTC](https://community.localwp.com/t/error-eperm-operation-not-permitted-open/37481/12 "2023-10-12T14:46:11Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
