raspberry pi folder permission [SOLVED]
i just bought a raspberry pi and im using it for the first time.
i use the monocle instructions
and i am stuck in point 3. coping the gateway token. to etc/monocle. the error i am getting is that i dont have permission to create or write a file in to this directory.
can anyone help me how to change the permission to that folder.
im are really new to linux and raspberry so sorry for the dumb question.
Monocle last edited by
You have to prefix the command you are using with
sudoto gain administrative privileges.
To create the directory:
sudo mkdir /etc/monocle
If you are copying the token file to the correct directory from your home directory:
sudo cp ~/monocle.token /etc/monocle/monocle.token