• Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    raspberry pi folder permission [SOLVED]

    Support
    2
    2
    163
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • W
      winzy54 last edited by Monocle

      hello.
      i just bought a raspberry pi and im using it for the first time.
      i use the monocle instructions
      https://monoclecam.com/monocle-gateway/install/linux-script-install?os=linux&arch=arm&target=raspberrypi&file=monocle-gateway-linux-raspi-v0.0.4

      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.

      thanks.

      Monocle 1 Reply Last reply Reply Quote 0
      • Monocle
        Monocle @winzy54 last edited by

        @winzy54

        You have to prefix the command you are using with sudo to 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
        

        Thanks, Robert

        Monocle: https://monoclecam.com
        Getting Started | Troubleshooting Guide | FAQ | Contact Support

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Privacy Policy  |  Terms & Conditions

        © 2018 shadeBlue, LLC.