# Permission error when starting a LableStudio space

**URL:** </static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fpermission-error-when-starting-a-lablestudio-space%2F168735%3E%5C
**Category:** Beginners\
**Created:** [September 28, 2025, 1:03am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fpermission-error-when-starting-a-lablestudio-space%2F168735 "2025-09-28T01:03:19Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![John6666](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/john6666/32/27664_2.png) [@John6666](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2FJohn6666)%5C
**Post date:** [September 28, 2025, 3:39am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fpermission-error-when-starting-a-lablestudio-space%2F168735%2F2 "2025-09-28T03:39:16Z")

</div>

[The cause is attempting to write to a directory that is not writable due to permissions](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fpermissionerror-errno-13-permission-denied-cache%2F146951%2F5). [Setting the following environment variable](https://labelstud.io/guide/start) would resolve this.  
`LABEL_STUDIO_BASE_DATA_DIR=/tmp/label-studio`  
Any directory with write permissions will work.

---

_[View the full topic](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fpermission-error-when-starting-a-lablestudio-space%2F168735)._
