[erlang-questions] Making home drive detection more flexible
Matt Olson
Matt.Olson@REDACTED
Fri Sep 13 18:09:45 CEST 2019
Folks,
There are multiple issues on stackoverflow where the home drive detection logic causes problems in corporate environments due to the frequent use of setting HOMEDRIVE and HOMEPATH to network file shares via group policy (which gets set upon each login to the workstation).
See here on the problem description:
https://groups.google.com/forum/#!topic/rabbitmq-users/8_JQd8druCI
My suggestion is to change the small number of files indicated in the link directly below to do this logic instead:
IF (ERLANGHOME exists) then
use ERLANGHOME variable
else
use existing HOMEDRIVE variable logic as fallback
end if
https://github.com/erlang/otp/search?q=HOMEDRIVE&unscoped_q=HOMEDRIVE
People have been working around this issue for years and would be nice to see it finally resolved.
For reference:
https://stackoverflow.com/questions/17496037/change-default-home-path-in-erlang-to-resolve-rabbitmq-start-up-error
https://groups.google.com/forum/#!searchin/rabbitmq-users/homedrive%7Csort:date
https://stackoverflow.com/search?q=erlang+homedrive
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20190913/826bae6c/attachment.htm>
More information about the erlang-questions
mailing list