Changing permissions on compile