[erlang-bugs] release_handler:remove_file fails on symlinks

Anders Nygren <>
Fri Jan 13 01:34:02 CET 2012

release_handler:remove_file fails if the file is a symlink. This
causes release_handler:remove_release to fail
halfway through removing the release, leaving the system in an
inconsistent state.

The reason is that file:read_file_info/1 is used to check if a file is
a directory or a normal file.
It seems to me like changing to file:read_link_info/1 fixes the problem.


More information about the erlang-bugs mailing list