Add chown

This commit is contained in:
Fabian Affolter 2017-05-30 20:12:58 +02:00
parent d1e5e2fe7c
commit 46c281450b
No known key found for this signature in database
GPG Key ID: DDF3D6F44AAB1336

View File

@ -23,10 +23,11 @@ and Home Assistant itself.
$ pip3 install homeassistant
```
To isolate the Home Assistant installation a [venv](https://docs.python.org/3/library/venv.html) is handy. First create a new directory to store the installation.
To isolate the Home Assistant installation a [venv](https://docs.python.org/3/library/venv.html) is handy. First create a new directory to store the installation and adjust the permissions.
```bash
$ sudo mkdir -p /opt/homeassistant
$ sudo chown -R user:group /opt/homeassistant
```
Now switch to the new directory, setup the venv, and activate it.