fix permissions on app folder