New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
variant: avoid Hugo permission errors on build #831
Comments
And here’s a failing minimal example as provided by jmooring in the the Hugo forums:
This fails with:
More from jmooring:
|
See also:
Perhaps you can change the default behavior so that new users have a better experience. |
After three issues here, I can say that it's worth a change. I had my reasons to do it this way, initially but it's not worth the resulting hassle for the users. |
After reading the issues linked by @jmooring I've now tried:
|
Just as an information: Fixing this will introduce a breaking change and will lead into a major release (in terms of semver). Because I want to put some other breaking changes into this release, it will take a few days to wrap this up. |
I've pushed to main, @kamar535 Could you give it another try? Some other stuff changed, may requiring additional changes by you: https://mcshelby.github.io/hugo-theme-relearn/basics/migration/index.html#600 |
I checked with the latest head of the theme and jmoorings example by modifying the commands to
As this now works without any issues, I hope it's resolved. |
I've used the excellent Relearn theme before but now, I can only run
hugo --renderToMemory server
. Runninghugo
orhugo server
fails due topermission denied
errors.Details and discussion here:
The text was updated successfully, but these errors were encountered: