Forum OpenACS Development: Re: Temp Upload Directory Naviserver OS X
4: Re: Temp Upload Directory Naviserver OS X (response to 3)
Posted by Dave Bauer on 02/24/16 08:42 PM
Thanks, since this is a local development, I can set it in the config file.
The list of valid directories is hard coded in ad_page_contract https://openacs.org/api-doc/proc-view?source_p=1&proc=ad_page_contract_filter_proc_tmpfile&version_id=
That should probably we some sort of parameter as well but it seems to have been OK for 10 years or so.
5: Re: Temp Upload Directory Naviserver OS X (response to 4)
Posted by Gustaf Neumann on 02/25/16 01:05 PM
In the last 10 years, many things changes, and people are today much more worried about security. If a program does not honor the environment variable TMPDIR it is regard as a bug and it is a problem for distributions, etc. NaviServer honors TMPDIR since 3 years.
Anyhow, you are right, this should be fixed . Many thanks for the report.