Default Home Directory

By default, when i log user into OOD for the first time all data will be written in home directory /home//ondemand. How can i change default home directory and written in another folder when i login at first time?

You can set the environment variable OOD_DATAROOT to something different. Note that something like "OOD_DATAROOT="$HOME/otherdirectory" should work, evaluating the $HOME variable.

Set this in both /etc/ood/config/apps/dashboard/env and /etc/ood/config/apps/myjobs/env for consistency.

2 Likes

For example, i want to write my data in folder /home1//… when i login at first time is that ok?

If that’s where you want to write data, then yes that’s totally fine!

1 Like