Fixed bug, which caused bad permissions in home directory.