Yes, it is a permissions issue. Take a look at the following thread.
http://forum.lazarus.freepascal.org/index.php/topic,23534.msg140777.html#msg140777My temporary solution until the developers get a handle on this issue is to change the ownership of the lazarus directory under /usr and
everything below lazarus to my regular user.
You can also go into Tools/Configutre build lazarus and set that to something
other than clean all, save, save the settings, and then build lazarus. Once that goes ok, go back and try installing the package again. This time it should build OK.
However, Run/Clean up Build Files seems also to have permissions issues. At the moment, the only fix for that is to change the permissions/ownership of lazarus as above, or install lazarus under your user instead of /usr.