Making home drive detection more flexible

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Making home drive detection more flexible

Matt Olson

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


_______________________________________________
erlang-questions mailing list
[hidden email]
http://erlang.org/mailman/listinfo/erlang-questions