#244 closed defect (fixed)
Remove hardcoding of user home directory in O'Mega
Reported by: | Christian Speckner | Owned by: | ohl |
---|---|---|---|
Priority: | P2 | Milestone: | |
Component: | omega | Version: | 2.0.0rc3 |
Severity: | major | Keywords: | |
Cc: |
Description
If I am not completely mistaken, the user home directory is hardwired in config.ml at configure time. On a multiuser installation, this will cause O'Mega to try writing to other peoples' home! This should be changed and determined at runtime, e.g. via Unix.gentenv "HOME"
.
Change History (4)
comment:1 Changed 15 years ago by
comment:2 Changed 15 years ago by
Priority: | P1 → P2 |
---|---|
Status: | new → assigned |
It's probably a good idea to make it conform to the configure option
--enable-user-cache=directory Store precomputed model tables in this directory and read them to avoid lengthy recomputations. Leading "~" will be replaced at runtime by ${HOME}. [Must be user writable, default=${HOME}/.whizard/var/cache, enabled].
It appears that I forgot to add the "~" magic ...
Note: See
TracTickets for help on using
tickets.
Partially overlapping with Ticket #224!