# Emptying trash failed : directory not empty

**URL:** <https://forum.storj.io/t/emptying-trash-failed-directory-not-empty/30643>\
**Category:** troubleshooting\
**Tags:** trash\
**Created:** [August 30, 2025, 3:22am UTC](https://forum.storj.io/t/emptying-trash-failed-directory-not-empty/30643 "2025-08-30T03:22:57Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![EasyRhino](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/easyrhino/32/1133_2.png) [@EasyRhino](https://forum.storj.io/u/EasyRhino)\
**Post date:** [August 30, 2025, 3:22am UTC](https://forum.storj.io/t/emptying-trash-failed-directory-not-empty/30643/1 "2025-08-30T03:22:57Z")

</div>

I hav a node I recently moved off a failing hard drive.

When I start it up I get one of 3 of these errors (one per trusted satellite, perhaps.)

the node still seems to run normally but I hadn’t seen this error so didn’t know if it was important.

> 2025-08-30T00:51:45Z ERROR pieces:trash emptying trash failed {“Process”: “storagenode”, “error”: “pieces error: fil estore error: directory not empty”, “errorVerbose”: “pieces error: filestore error: directory not empty\n\tstorj.io/storj/stor agenode/blobstore/filestore.(\*blobStore).EmptyTrash:232\n\tstorj.io/storj/storagenode/pieces.(\*BlobsUsageCache).EmptyTrash:469 \n\tstorj.io/storj/storagenode/pieces.(\*Store).EmptyTrash:493\n\tstorj.io/storj/storagenode/pieces.(\*TrashChore).Run.func1.1:8 6\n\tstorj.io/common/sync2.(\*Workplace).Start.func1:89”}

---

<div class="post-metadata">

**Author:** ![Alexey](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/alexey/32/41_2.png) [@Alexey](https://forum.storj.io/u/Alexey)\
**Post date:** [August 30, 2025, 6:34am UTC](https://forum.storj.io/t/emptying-trash-failed-directory-not-empty/30643/2 "2025-08-30T06:34:46Z")

</div>

Please check permissions there. It’s likely because not all pieces have been removed.

---

<div class="post-metadata">

**Author:** ![EasyRhino](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/easyrhino/32/1133_2.png) [@EasyRhino](https://forum.storj.io/u/EasyRhino)\
**Post date:** [August 31, 2025, 3:11am UTC](https://forum.storj.io/t/emptying-trash-failed-directory-not-empty/30643/3 "2025-08-31T03:11:42Z")

</div>

yup thanks, combination of not having some permissions in the trash folder AND there being a stale two week old trash folders that I had to delete manually
