I installed Zola using
snap install --edge zola on Ubuntu 22.04.
I got this error when I tried to run
$ ls -la
drwxrwxr-x 2 ubuntu ubuntu 4096 Jun 19 10:28 ./
drwxr-xr-x 44 ubuntu ubuntu 4096 Jun 19 10:28 ../
$ zola init
Failed to create the project
Error: Could not read `.` because of error: Permission denied (os error 13)
Possible solution below.
I have the exact same issue and I can’t find a way to fix it.
zola serve also gives the same error.
I’ve changed the permissions of the files and folder but nothing…
Edit 1: You’ve probably installed
snap like me and trying to run it in a directory outside of
/home (see Permission denied error when running apps installed as snap packages - Ubuntu 17.04 - Ask Ubuntu ).
Remove the snap and install