# Task can not access host\_volume

**URL:** <https://discuss.hashicorp.com/t/task-can-not-access-host-volume/70383>\
**Category:** Nomad\
**Created:** [October 3, 2024, 7:52am UTC](https://discuss.hashicorp.com/t/task-can-not-access-host-volume/70383 "2024-10-03T07:52:54Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![fmp88](https://sea2.discourse-cdn.com/hashicorp/user_avatar/discuss.hashicorp.com/fmp88/32/29437_2.png) [@fmp88](https://discuss.hashicorp.com/u/fmp88)\
**Post date:** [October 3, 2024, 7:52am UTC](https://discuss.hashicorp.com/t/task-can-not-access-host-volume/70383/1 "2024-10-03T07:52:54Z")

</div>

Hi,

I have setup a host\_volume to the data directory of Nomad to be able to read the logs via Filebeat system job. Nomad shows that the volume is correctly mounted.

But when I exec into the task and try to access the mount point of the host\_volume I get a permission denied error. I tried to mount another folder I created in /tmp/ and that worked, so how can I give this task access to the logs in the data directory?

Thanks
