Installation - unable to create cache directory

Hi,
I’m trying to launch pimcore using ./vendor/bin/pimcore-install
But I’m facing the following issue.
Capture
Kindly help me out with this!

Seems like an ownership/permissions issue. I would assume that the project files and directories are owned by the web server user (www-data for Apache on Ubuntu) and then either 1) the user you’re running the command as isn’t part of the web server group, and/or 2) the directories aren’t writable by members of the web server group.

I’d check the permissions and ownership and then chmod / chown accordingly. With Pimcore, 664 for files and 775 for directories works for me.

Thank you @Tomi, I ran the command with sudo su, it worked! :slightly_smiling_face: