This isn't an error from QIIME 2, this is a filesystem permission error - the user you are running QIIME 2 as doesn't have permission to write to the temporary directory. Are you using an institutional cluster? If so, check with them on this, something seems strange to me about not having permission for that.
In my case, it was because I was starting from the wrong directory. It was trying to access a directory via a path that made it seem like I was trying to access files I did not have authorization to access. Once I started from the directory, it worked.