Fix permissions for Loader