fi permissions issue on media download endpoint