If you're an EU citizen you by definition have a permanent permit, until either your country of origin or host country leaves the EU. If you are not then woe be you, but that's a separate matter.
"Permanent residence" is also again different and requires residence under those criteria for at least 5 years.