# Error in operation SITE\_CREATION, step baseapp: Error: EACCES: permission denied, copyfile error

**URL:** <https://community.kinsta.com/t/error-in-operation-site-creation-step-baseapp-error-eacces-permission-denied-copyfile-error/2396>\
**Category:** Bug Reports\
**Created:** [July 31, 2023, 3:38pm UTC](https://community.kinsta.com/t/error-in-operation-site-creation-step-baseapp-error-eacces-permission-denied-copyfile-error/2396 "2023-07-31T15:38:12Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nathan\_Hill](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/nathan_hill/32/2202_2.png) [@Nathan\_Hill](https://community.kinsta.com/u/Nathan_Hill)\
**Post date:** [July 31, 2023, 3:38pm UTC](https://community.kinsta.com/t/error-in-operation-site-creation-step-baseapp-error-eacces-permission-denied-copyfile-error/2396/1 "2023-07-31T15:38:12Z")

</div>

**Q: Date/Time this occurred (Provide your time zone also)**  
**A:** 2023-07-31 10:18:59 Central Daylight Time

**Q: DevKinsta Version**  
**A:** 2.11.0

**Q: OS Version**  
**A:** Pop!\_OS 22.04 LTS

**Q: Docker Desktop Version**  
**A:** N/A, I have the Docker CLI installed: Docker version 24.0.5, build ced0996

**Q: Were any error codes or messages observed? If so, what were they?**  
**A:** Partial log below:

```auto
[2023-07-31 10:34:36.522] [info] [installApp] Installing app
[2023-07-31 10:34:36.522] [info] [getDevKinstaPath] get DevKinsta path
[2023-07-31 10:34:36.522] [info] [isWslMode] check if docker runs on wsl mode
[2023-07-31 10:34:36.523] [error] [ipcMainStep] Error in operation SITE_CREATION, step baseapp: Error: EACCES: permission denied, copyfile '/opt/DevKinsta/resources/resources/index.html' -> '/home/nate/DevKinsta/public/example/index.html'
[2023-07-31 10:34:36.530] [info] [ProgressIndicator] { isFailed: false, isOpen: false }
[2023-07-31 10:34:36.548] [info] [ProgressIndicator] { isFailed: true, isOpen: false }
[2023-07-31 10:34:36.550] [info] [ProgressIndicator] { isFailed: true, isOpen: true }

```

**Q: Detailed Description of the Problem**  
**A:** When I attempt to create an empty site I get an error inside of DevKinsta that says “Something bad happened.” I tried changing the permissions of the files to root but that didn’t work. I’ve also tried uninstalling and reinstalling Dev Kinsta (purging the Docker containers/volumes as well) but haven’t had any luck with that yet.

 ![image](https://us1.discourse-cdn.com/flex020/uploads/kinsta/original/2X/f/f990b1ae7c791aa3276b6150c86a90d3bb1e1a50.png)  
 ![image](https://us1.discourse-cdn.com/flex020/uploads/kinsta/original/2X/8/86a65df0fff6091cded72def04f26bd55c41d798.png)

---

<div class="post-metadata">

**Author:** ![Agus](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/agus/32/1515_2.png) [@Agus](https://community.kinsta.com/u/Agus)\
**Post date:** [August 1, 2023, 1:57am UTC](https://community.kinsta.com/t/error-in-operation-site-creation-step-baseapp-error-eacces-permission-denied-copyfile-error/2396/2 "2023-08-01T01:57:23Z")

</div>

Hello @Nathan_Hill ,

Thank you for reporting this to our community! 🙇‍♂️  
I’m using Ubuntu 22.04.2 LTS and the same Docker Engine/CLI version, as well as the same DevKinsta version (2.11.0).

I could replicate the same issue (_bug_) on my end with the above environments - though previously **I tried and it worked fine on the previous DevKinsta version (2.10.0) - when creating an empty site**.

I compared those processes on both DevKinsta versions, and noticed that in **DevKinsta 2.10.0** , after I clicked the “Create site” blue button (to create new empty/custom/non-WordPress site), it then prompted me to enter my linux user’s password (as the Super User)

 ![Screenshot from 2023-08-01 07-40-13](https://us1.discourse-cdn.com/flex020/uploads/kinsta/original/2X/a/af983d4d40fb88455af451de62d0e6179295f9df.jpeg)

but I’m not sure why, that when I tried in **DevKinsta 2.11.0** , after I clicked that same “Create site” blue button, **it didn’t prompt me to enter the authentication/credential as the super user** - **so that’s the difference** here (and guess it maybe a _bug_ with this DevKinsta 2.11.0 version), and I got the same “_Something bad happened_”

 ![Screenshot from 2023-08-01 08-20-35](https://us1.discourse-cdn.com/flex020/uploads/kinsta/original/2X/1/1cec1b1de65cd2f1bb85c34c124816e087ec7154.png)

also I got the same error message when I was tailing the `main.log` file:

 ![Screenshot from 2023-08-01 08-21-04](https://us1.discourse-cdn.com/flex020/uploads/kinsta/original/2X/1/1b98f65934e26e542c29f7d5d2453b674f3f23e2.png)

Then I immediately check my `~/DevKinsta/public/` folder and noticed that new local site ( `example` folder ) had `root:root` user ownership:

 ![Screenshot from 2023-08-01 08-21-36](https://us1.discourse-cdn.com/flex020/uploads/kinsta/original/2X/c/c38819bae4c6ea0dca3a18709a561bb6a751b21d.png)  
(no wonder that we got that similar error:  
`[error] [ipcMainStep] Error in operation SITE_CREATION, step baseapp: Error: EACCES: permission denied, copyfile '/opt/DevKinsta/resources/resources/index.html' -> '/home/agus/DevKinsta/public/example/index.html'` )  
.

**[TEMP] Solution**  
As a workaround, I went ahead and changed that new created “example” folder’s ownership to my linux user account (with something like this: `sudo chown -R agus:agus example/` )

 ![Screenshot from 2023-08-01 08-22-44](https://us1.discourse-cdn.com/flex020/uploads/kinsta/original/2X/8/802e848b0df1a91f2f85d747f70b40c30ff6ed2e.png)

After that, I went back to my DevKinsta (where it was showing that “Something bad happened” screen) and clicked the “Retry” button - it then passed that process and then prompted me to enter to authenticate with the user password:

 ![Screenshot from 2023-08-01 08-24-16](https://us1.discourse-cdn.com/flex020/uploads/kinsta/original/2X/e/e392b8d3f0cc7f85d409063fb017a68d24689919.jpeg)

then, it continued to process the other steps and completed just fine:

 ![Screenshot from 2023-08-01 08-24-18](https://us1.discourse-cdn.com/flex020/uploads/kinsta/original/2X/4/4eee2e366275a06225052a543360e0fcaae3da77.png)  
 ![Screenshot from 2023-08-01 08-24-24](https://us1.discourse-cdn.com/flex020/uploads/kinsta/original/2X/3/360fc7d17d642d320905c5adc33610ed8f718ecc.png)

and the “example” site’s folder and its contents are showing these:

 ![Screenshot from 2023-08-01 08-24-43](https://us1.discourse-cdn.com/flex020/uploads/kinsta/original/2X/5/57aecb9f188085307550d1b7d8fb8d019a47a4ab.png)

The local _example_ site is also accessible when I tried to open it on my FireFox browser:

 ![Screenshot from 2023-08-01 08-25-33](https://us1.discourse-cdn.com/flex020/uploads/kinsta/original/2X/7/7fd5af5c1680525ce0a84cca28d281e335e0b4b4.png)

So you may want to try the same “temporary” solution as I did above and see if you can create that empty site on your local computer using DevKinsta.

I will also report this “bug” to our internal DevKinsta developers, so they will be aware about it and can check further. Though I can’t promise anything when the fix for it will be released in the future (in the next DevKinsta version).

Regards,  
Agus
