# Can't delete folder

**URL:** <https://help.nextcloud.com/t/cant-delete-folder/3674>\
**Category:** ℹ️ Support\
**Created:** [September 28, 2016, 12:55pm UTC](https://help.nextcloud.com/t/cant-delete-folder/3674 "2016-09-28T12:55:39Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![flavio99](https://help.nextcloud.com/letter_avatar/flavio99/32/5_5575768a8748004e209b776fc1b2916d.png) [@flavio99](https://help.nextcloud.com/u/flavio99)\
**Post date:** [September 28, 2016, 12:55pm UTC](https://help.nextcloud.com/t/cant-delete-folder/3674/1 "2016-09-28T12:55:39Z")

</div>

Hi Friends,

I have a problem with my Netxcloud. I can’t delete only 1 folder not. Error: No permissions!

Can you help me?

Best regards,

Flavio Meyer

---

<div class="post-metadata">

**Author:** ![flavio99](https://help.nextcloud.com/letter_avatar/flavio99/32/5_5575768a8748004e209b776fc1b2916d.png) [@flavio99](https://help.nextcloud.com/u/flavio99)\
**Post date:** [October 11, 2016, 3:09pm UTC](https://help.nextcloud.com/t/cant-delete-folder/3674/3 "2016-10-11T15:09:08Z")

</div>

Hi, the folder was shared. I unshared the folder but i can’t delete de folder.

I can delete the second underfolder in this folder.

Can you help me?

 ![](https://help.nextcloud.com/uploads/default/original/2X/f/f11a72f1f9e71191f0d1790b45020c2fa0f937eb.PNG)

---

<div class="post-metadata">

**Author:** ![flavio99](https://help.nextcloud.com/letter_avatar/flavio99/32/5_5575768a8748004e209b776fc1b2916d.png) [@flavio99](https://help.nextcloud.com/u/flavio99)\
**Post date:** [October 11, 2016, 3:10pm UTC](https://help.nextcloud.com/t/cant-delete-folder/3674/4 "2016-10-11T15:10:04Z")

</div>

This is the second picture. I can delete this folder!

 ![](https://help.nextcloud.com/uploads/default/original/2X/0/0b8cd331e40bd3e907a2407bf091c1af05db9464.PNG)

---

<div class="post-metadata">

**Author:** ![tflidd](https://help.nextcloud.com/letter_avatar/tflidd/32/5_5575768a8748004e209b776fc1b2916d.png) [@tflidd](https://help.nextcloud.com/u/tflidd)\
**Post date:** [October 12, 2016, 9:18am UTC](https://help.nextcloud.com/t/cant-delete-folder/3674/5 "2016-10-12T09:18:15Z")

</div>

Did you place this folder manually inside the data/-folder of Nextcloud (the webserver-user needs to have enough permissions)?  
Can you check your logfiles (Nextcloud, webserver) as well?

---

<div class="post-metadata">

**Author:** ![flavio99](https://help.nextcloud.com/letter_avatar/flavio99/32/5_5575768a8748004e209b776fc1b2916d.png) [@flavio99](https://help.nextcloud.com/u/flavio99)\
**Post date:** [October 12, 2016, 9:42am UTC](https://help.nextcloud.com/t/cant-delete-folder/3674/6 "2016-10-12T09:42:51Z")

</div>

Yes i did every folder manually into the /data folder because my server was down and i had a backup of my data. But every folder has the same permissions.

---

<div class="post-metadata">

**Author:** ![tflidd](https://help.nextcloud.com/letter_avatar/tflidd/32/5_5575768a8748004e209b776fc1b2916d.png) [@tflidd](https://help.nextcloud.com/u/tflidd)\
**Post date:** [October 12, 2016, 10:16am UTC](https://help.nextcloud.com/t/cant-delete-folder/3674/7 "2016-10-12T10:16:31Z")

</div>

> [@flavio99](#):
>
> But every folder has the same permissions.

Can you double check this (ls -lsia /path/to/data-folder/username/files/nc-path)? This is the typical error if the file system permissions are not quite right. If there is a mismatch with the file index of your database, there should be some errors in your logfiles, you can also update the file index with occ command for this user).

---

<div class="post-metadata">

**Author:** ![flavio99](https://help.nextcloud.com/letter_avatar/flavio99/32/5_5575768a8748004e209b776fc1b2916d.png) [@flavio99](https://help.nextcloud.com/u/flavio99)\
**Post date:** [October 12, 2016, 11:25am UTC](https://help.nextcloud.com/t/cant-delete-folder/3674/8 "2016-10-12T11:25:37Z")

</div>

The Folder is not in the path. The folder is away. How can show the error logs or update the file index?

---

<div class="post-metadata">

**Author:** ![flavio99](https://help.nextcloud.com/letter_avatar/flavio99/32/5_5575768a8748004e209b776fc1b2916d.png) [@flavio99](https://help.nextcloud.com/u/flavio99)\
**Post date:** [October 12, 2016, 4:54pm UTC](https://help.nextcloud.com/t/cant-delete-folder/3674/9 "2016-10-12T16:54:13Z")

</div>

I’v fix it with a files:scan -all and maintenance:repair

Thanks for help 🙂

---

<div class="post-metadata">

**Author:** ![tflidd](https://help.nextcloud.com/letter_avatar/tflidd/32/5_5575768a8748004e209b776fc1b2916d.png) [@tflidd](https://help.nextcloud.com/u/tflidd)\
**Post date:** [February 24, 2017, 9:23am UTC](https://help.nextcloud.com/t/cant-delete-folder/3674/11 "2017-02-24T09:23:54Z")

</div>



---

<div class="post-metadata">

**Author:** ![wwe](https://help.nextcloud.com/user_avatar/help.nextcloud.com/wwe/32/72963_2.png) [@wwe](https://help.nextcloud.com/u/wwe)\
**Post date:** [December 4, 2024, 3:25pm UTC](https://help.nextcloud.com/t/cant-delete-folder/3674/12 "2024-12-04T15:25:46Z")

</div>


