From b8bcb2fb8b0b71f4a97fcb80a65c92d86f0f606c Mon Sep 17 00:00:00 2001 From: Tails Date: Sat, 16 Dec 2017 11:44:58 +0100 Subject: [PATCH] Include note to allow hugo write permissions outside home dir --- content/getting-started/installing.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/content/getting-started/installing.md b/content/getting-started/installing.md index 9745cbee9..0375ceead 100644 --- a/content/getting-started/installing.md +++ b/content/getting-started/installing.md @@ -424,10 +424,6 @@ In any of the [Linux distributions that support snaps][snaps]: 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/gohugoio/hugo/issues/3143). -{{% /note %}} - ### Debian and Ubuntu Debian and Ubuntu provide a `hugo` version via `apt-get`: @@ -445,6 +441,10 @@ sudo apt-get install hugo * Might not be the latest version, especially if you are using an older, stable version (e.g., Ubuntu 16.04 LTS). Until backports and PPA are available, you may consider installing the Hugo snap package to get the latest version of 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/gohugoio/hugo/issues/3143). Use ```sudo apt-get install hugo --classic``` to disable the default security model if you want hugo to be able to have write access in other paths besides the user’s `$HOME` directory. +{{% /note %}} + ### Arch Linux You can also install Hugo from the Arch Linux [community](https://www.archlinux.org/packages/community/x86_64/hugo/) repository. Applies also for derivatives such as Manjaro.