a colleague pointed me to the option of limiting the transfers as described in Customization — Open OnDemand 2.0.20 documentation .
The official docs suggest to edit /etc/ood/config/apps/shell/env
and this link suggests to edit /etc/ood/config/apps/files/env
I have tried to edit both files:
$> cat /etc/ood/config/apps/files/env
FILE_UPLOAD_MAX=0
$> cat /etc/ood/config/apps/shell/env
FILE_UPLOAD_MAX=0
And then I did systemctl try-restart httpd24-httpd.service httpd24-htcacheclean.service
but I can still upload files using the Files app. Am I doing something wrong?
I am using ondemand-2.0.23-1.el7.x86_64
installed using RPMs on Centos7.9