What's changing my erlang cookie permissions

I’m running CentOS 6 servers. Sometimes, the erlang cookie gets group permissions set. Today, I had a system with 620 permissions. Anyone else ever experience this? I’m using exrm for release generation.

Is your init script doing any permission changing?

No, nothing in the init script for the cookie

However, my init script starts a secondary script safe_myapp. That script is started in the background and it starts the release in foreground. After that, it blocks. When it returns (evm crash) it logs the error and starts the release in foreground.

I also have a check in the safe script for the permissions on the cookie. If its not 400, then I delete the cookie.