summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorAnthony Fok <foka@debian.org>2017-03-13 18:11:57 -0600
committerAnthony Fok <foka@debian.org>2017-03-14 06:13:28 -0600
commitb156ef27122ea6400739db6b8a8d0fbfa81bb4c2 (patch)
treee619490639f3feb6237bb0ffae176857be86df9c /docs
parent042f8fca03a308e59b3665ad984b5995cd97e2b2 (diff)
docs: Note Hugo as Snap package can write only inside $HOME
Backported from https://hugodocs.info/getting-started/installing/ Fixes #3143
Diffstat (limited to 'docs')
-rw-r--r--docs/content/overview/installing.md7
1 files changed, 5 insertions, 2 deletions
diff --git a/docs/content/overview/installing.md b/docs/content/overview/installing.md
index f3ef235e8..9fddaeb08 100644
--- a/docs/content/overview/installing.md
+++ b/docs/content/overview/installing.md
@@ -56,11 +56,14 @@ you need to install the Python-based Pygments program. The procedure is outlined
Upgrading Hugo is as easy as downloading and replacing the executable you’ve
placed in your `PATH`.
-## Installing from snap
+## Snap package for Hugo
In any of the [Linux distributions that support snaps](http://snapcraft.io/docs/core/install):
- $ snap install hugo
+ snap install hugo
+
+> Note: Hugo-as-a-snap can write only inside the user’s `$HOME` directory—and gvfs-mounted directories owned by the user—because of Snaps’ confinement and security model.
+> More information is also available [in this related GitHub issue](https://github.com/spf13/hugo/issues/3143).
## Installing from source