Media source customizing in snap installation?

Hello,
I’ve installed home assistant by snap.
Here is my config :

 |Version|core-2021.2.0|
| --- | --- |
|Type d'installation|Home Assistant Core|
|Développement|false|
|Superviseur|false|
|Docker|false|
|Environnement virtuel|true|
|Version de Python|3.8.5|
|Famille du système d'exploitation|Linux|
|Version du système d'exploitation|5.8.0-43-generic|
|Architecture du processeur|x86_64|
|Fuseau horaire|UTC|Blockquote

I have tried to set a custom directory for the media source :

homeassistant:
  media_dirs:
    media: /media

But it fails with the error PermissionError: [Errno 13] Permission denied: '/media’
Any suggestion?