When i try to change the default application for any kind of file (here i tried with mp3) it gives the following error
Error while setting "setting VLC media player" as default application : Failed to create file '/home/may/.local/share/applications/mimeapps.list.PU9W1W' : Permission denied
(kindly see the attachment).
When i try to do the same from settings (default application), it crashes. The problem occurs for any application.