Change default working directory not depending of apps

Hello,

Is is possible to replace default working directory with user defined directory at once for all apps?

I found OOD_DATAROOT in /etc/ood/config/apps/app_name/env. But it’s global configuration for every user. Is there a way to define working directory by user?

No, this is not a feature in Open OnDemand. You could always have the environment variable set on login for a user by using a bashrc or profile to just set that environment variable as you want with $USER in the path.

Thanks Travis.

Do you mean it could be working if I set environment variable in .bashrc? I set variable in that file as bolow but it does not work.

export OOD_DATAROOT=/scratch/ood/s.park

How can users change their working directory as they want?