I am using windows 10 and vagrant. When I access vagrant ssh I want to create a folder inside Code which is where all my projects are.
Now, I want to create a folder inside Code and I get the error:
[ErrorException] mkdir(): permission denied.
I also gave it 777 permissions but still can't create the folder.
Es
sudo mkdir carpeta
, or log in as root sudo su and thenmkdir carpeta
. Don't forget to exit the root user afterwards, simply with the exit command .Check who owns that directory by giving it
and if it is from
root
then you have to create them with