changing permissions for install_dir