Hi. I was getting the same error in MeshLab using the 64 bits version for Windows. I tried opening MeshLab as Administrator and it worked. I guess for Ubuntu you could try running MeshLab as super user.