Unable to Install Plugins in Grafana 9

ERROR:←[31mError←[0m: ←[31m✗←[0m pluginsDir (…/data/plugins) is not a writable directory.
To the above mentioned error.
Even thought after changes path . I’m not able to install plugins in Grafana 9.