Could not create directory

while installing a new theme in wordpress it shows that Unpacking the package…

Installing the theme…

Could not create directory. /opt/lampp/htdocs/wordpress/wp-content/themes/scrollme/

Theme installation failed.

Version of parrot is Mate latest version.
Not dual boot

Try running it as root. A default user doesnt have permissions to modify those directories.

i tried from root but doesnt work

I havent used wordpress before, so what are you using to unpack and install the theme? Is it sandboxed? Can you extract and move it manually?

It moves manually but i am not getting permission to create directory. So without creating directory it doesnt work

What command are you using to move it?
You could use mkdir -p to create the all the folders first if it helps.