I think you are spot on, but I don’t know what to do about the AppArmor, could you please help me?
Creating in home, then moving, then running hugo server gives:
Error: Unable to locate Config file. Perhaps you need to create a new site.
Run `hugo help new` for details. (Config File "config" Not Found in "[/var/lib/snapd/void]")
Even though I am in the site folder and can clearly see the configuration file.
Running a tail on /var/log/kern.log gives:
[45885.985012] audit: type=1400 audit(1503702901.920:77): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="snap.hugo.hugo" pid=11500 comm="apparmor_parser"
[45886.116854] audit: type=1400 audit(1503702902.052:78): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="/snap/core/2462/usr/lib/snapd/snap-confine" pid=11507 comm="apparmor_parser"
[45886.132072] audit: type=1400 audit(1503702902.068:79): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="/snap/core/2462/usr/lib/snapd/snap-confine//mount-namespace-capture-helper" pid=11507 comm="apparmor_parser"
[45886.135664] audit: type=1400 audit(1503702902.068:80): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="snap.core.hook.configure" pid=11509 comm="apparmor_parser"
[45899.025278] audit: type=1400 audit(1503702914.964:81): apparmor="DENIED" operation="capable" profile="/snap/core/2462/usr/lib/snapd/snap-confine" pid=11713 comm="snap-confine" capability=4 capname="fsetid"