Bug fix for permissions in install