# Is there a way to modify the default \`/home/user/ondemand\` directory?

**URL:** https://discourse.openondemand.org/t/is-there-a-way-to-modify-the-default-home-user-ondemand-directory/3758
**Category:** Get Help
**Tags:** question
**Created:** [October 1, 2024, 2:07pm UTC](https://discourse.openondemand.org/t/is-there-a-way-to-modify-the-default-home-user-ondemand-directory/3758 "2024-10-01T14:07:29Z")
**Posts on this page:** 1
**Showing post:** 4

<div class="post-metadata">

### Author: ![jasonbuechler](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/jasonbuechler/32/302_2.png) [@jasonbuechler](https://discourse.openondemand.org/u/jasonbuechler)
#### Post date: [October 1, 2024, 10:45pm UTC](https://discourse.openondemand.org/t/is-there-a-way-to-modify-the-default-home-user-ondemand-directory/3758/4 "2024-10-01T22:45:41Z")

</div>

like jeff mentioned, the way to modify the default directory is the variable, OOD\_DATAROOT

if it helps anyone in the future or for debug purposes (e.g. I learned a lot about an issue I was having by moving my data-root to another filesystem and to /tmp) here’s some info about it:

> [@Relocating /home/$user/ondemand folder](https://discourse.openondemand.org/t/relocating-home-user-ondemand-folder/2396):
>
> Hi all, During Office Hours one of our staff was told that there was a OOD\_ROOT\_PATH variable that I could set in /etc/ood/profile to move (in our case) /home/$user/ondemand to /projects/$users/ondemand as ondemand files were filling up home directories and causing various fun problems. I attempted doing it but since this seems to be an undocumented feature, I couldn’t figure out what syntax I should use for this. Or is there a better way to do this? Thanks in advance, Joe Malingowski

---

_[View the full topic](https://discourse.openondemand.org/t/is-there-a-way-to-modify-the-default-home-user-ondemand-directory/3758)._
