ITADN

Error: error copying static files: open path/to/public/webfonts/fa-solid-900.ttf: permission denied

#672ClosedKHannibal 创建于 2024-10-29
K
KHannibalcommented
Hi there, I've upgraded bilberry 4.9.0 to the last version (4.10.0) and I am now getting this error trying to build the website. ``` $ hugo --cleanDestinationDir --forceSyncStatic --ignoreCache --minify --gc hugo: downloading modules … go: downloading github.com/Lednerb/bilberry-hugo-theme/v4 v4.10.0 go: downloading github.com/Lednerb/bilberry-hugo-theme v1.0.1 hugo: collected modules in 8112 ms Start building sites … hugo v0.136.5+extended darwin/arm64 BuildDate=2024-10-24T12:26:27Z VendorInfo=brew Total in 8488 ms Error: error copying static files: open path/to/public/webfonts/fa-solid-900.ttf: permission denied ``` The permissions on the directory are fine. I tried resetting the permissions but it didn't make any difference. My user is an admin. (I'm on macOS, latest version.) It happens too when I remove `--forceSyncStatic` or other parameters. Do you have any idea on how to fix this issue ? Thanks ! 👍
关闭于 2024-11-19 3 条评论