# Error when execute query

**URL:** <https://community.dremio.com/t/error-when-execute-query/7882>\
**Category:** Uncategorized\
**Created:** [August 22, 2021, 2:21pm UTC](https://community.dremio.com/t/error-when-execute-query/7882 "2021-08-22T14:21:18Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![tferrucio](https://avatars.discourse-cdn.com/v4/letter/t/67e7ee/32.png) [@tferrucio](https://community.dremio.com/u/tferrucio)\
**Post date:** [August 22, 2021, 2:21pm UTC](https://community.dremio.com/t/error-when-execute-query/7882/1 "2021-08-22T14:21:18Z")

</div>

Hi everyone,

I’m beginning in Dremio and I’m validating this tool (POC). After some days using the dremio, I starting to get two different error msg:

- IOException: Mkdirs failed to create /var/lib/dremio/pdfs/results/1edda480-562e-34de-ac5b-b43cd6ff3900  
I’ve checked my dremio.conf, I don’t if all good:  
paths: {
# the local path for dremio to store data.
local: “/var/lib/dremio”
# the distributed path Dremio data including job results, downloads, uploads, etc
#dist: “pdfs://”${paths.local}“/pdfs”  
#result: “pdfs://”${paths.local}“/pdfs”  
}  
services: {  
coordinator.enabled: true,  
coordinator.master.enabled: true,  
executor.enabled: false  
}

and this

- IOException: No space left on device.  
I checked the space on disk is ok, there is space ![image](https://us1.discourse-cdn.com/flex020/uploads/dremio/original/2X/9/9830417169ee0314c9ab6fa2c8459e329579e99f.png)

Someone can help me!!!

Regards,  
Tiago

---

<div class="post-metadata">

**Author:** ![balaji.ramaswamy](https://sea2.discourse-cdn.com/flex020/user_avatar/community.dremio.com/balaji.ramaswamy/32/843_2.png) [@balaji.ramaswamy](https://community.dremio.com/u/balaji.ramaswamy)\
**Post date:** [August 23, 2021, 6:32am UTC](https://community.dremio.com/t/error-when-execute-query/7882/2 "2021-08-23T06:32:38Z")

</div>

@tferrucio You are writing results to local under `/var/lib/dremio`, does Dremio have permissions to write here?
