# Deleting a Site on Ubuntu Doesn't Remove Files

**URL:** https://community.kinsta.com/t/deleting-a-site-on-ubuntu-doesnt-remove-files/823
**Category:** Bug Reports
**Created:** [July 2, 2021, 5:22pm UTC](https://community.kinsta.com/t/deleting-a-site-on-ubuntu-doesnt-remove-files/823 "2021-07-02T17:22:21Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![Hade](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/hade/32/563_2.png) [@Hade](https://community.kinsta.com/u/Hade)
#### Post date: [July 2, 2021, 5:22pm UTC](https://community.kinsta.com/t/deleting-a-site-on-ubuntu-doesnt-remove-files/823/1 "2021-07-02T17:22:21Z")

</div>

Hi there  
I’ve deleted sites via DevKinsta app, yet their folders are still there in “public” folder within DevKinsta. No option or ability to delete them and clean “public” folder. I’m in Ubuntu 20.04.2 LTS.  
How can I delete them?  
Thanks

---

<div class="post-metadata">

### Author: ![michael](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/michael/32/31_2.png) [@michael](https://community.kinsta.com/u/michael)
#### Post date: [July 2, 2021, 8:43pm UTC](https://community.kinsta.com/t/deleting-a-site-on-ubuntu-doesnt-remove-files/823/2 "2021-07-02T20:43:14Z")

</div>

Hey @Hade . Thank you for reporting this. I just tested this and does appear to be a bug that removing a site on DevKinsta with Ubuntu does not remove the files as well. You’ll need to navigate to the public folder manually on your system and delete the directory inside the public directory. You can find it over at `~/DevKinsta/public/yoursite`.

---

<div class="post-metadata">

### Author: ![Hade](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/hade/32/563_2.png) [@Hade](https://community.kinsta.com/u/Hade)
#### Post date: [July 2, 2021, 10:16pm UTC](https://community.kinsta.com/t/deleting-a-site-on-ubuntu-doesnt-remove-files/823/3 "2021-07-02T22:16:26Z")

</div>

Thank you Michael!  
That’s what I’ve been trying to do. I can’t. The only files that can be deleted are the “site” wp installation files within that specific stile folder. The folder itself can’t be deleted nor its name can be changed. I ended up now with a bloated “public” folder with many unnecessary sites setting there!!

---

<div class="post-metadata">

### Author: ![michael](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/michael/32/31_2.png) [@michael](https://community.kinsta.com/u/michael)
#### Post date: [July 2, 2021, 11:39pm UTC](https://community.kinsta.com/t/deleting-a-site-on-ubuntu-doesnt-remove-files/823/4 "2021-07-02T23:39:06Z")

</div>

🤔 Are you seeing any errors trying to delete that directory?

---

<div class="post-metadata">

### Author: ![Hade](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/hade/32/563_2.png) [@Hade](https://community.kinsta.com/u/Hade)
#### Post date: [July 3, 2021, 12:19am UTC](https://community.kinsta.com/t/deleting-a-site-on-ubuntu-doesnt-remove-files/823/5 "2021-07-03T00:19:21Z")

</div>

None. I just can’t delete them. The options “cut”, “move to” and “rename” are all grayed out!

---

<div class="post-metadata">

### Author: ![michael](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/michael/32/31_2.png) [@michael](https://community.kinsta.com/u/michael)
#### Post date: [July 5, 2021, 4:17pm UTC](https://community.kinsta.com/t/deleting-a-site-on-ubuntu-doesnt-remove-files/823/6 "2021-07-05T16:17:07Z")

</div>

Hi @Hade . It sounds like a permission issue. You may need to change ownership of that directory to delete those files. Check out this guide here: [Right clicking a file, Can't delete files/folders, no option to delete. - Ask Ubuntu](https://askubuntu.com/questions/106272/right-clicking-a-file-cant-delete-files-folders-no-option-to-delete)
