ensure permissions on media library are correct