docs: Note Hugo as Snap package can write only inside $HOME
authorAnthony Fok <foka@debian.org>
Tue, 14 Mar 2017 00:11:57 +0000 (18:11 -0600)
committerAnthony Fok <foka@debian.org>
Tue, 14 Mar 2017 12:13:28 +0000 (06:13 -0600)
Backported from https://hugodocs.info/getting-started/installing/

Fixes #3143

docs/content/overview/installing.md

index f3ef235e8e4d1e60430f28187a10a886511d2007..9fddaeb08dd704ee1719bd12c61c4efec8ec3ddf 100644 (file)
@@ -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