From 67a62dabdb9a866899ec18d830837077a317d5d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Weigert?= Date: Thu, 7 May 2020 01:39:16 +0200 Subject: [PATCH 1/2] Update eos.md add some preconditions --- docs/eos.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/eos.md b/docs/eos.md index eecf8636b3..bbedb587bc 100644 --- a/docs/eos.md +++ b/docs/eos.md @@ -29,7 +29,11 @@ $ cd ocis ### Run it! -We poured the nitty gritty details of setting up ocis into Makefile destinations. After running +Preconditions +* `go` (from golang.org/dl) and `gcc` (via e.g. `apt install build-essential`) are installed +* No eos components are running. If in doubt, begin with `make eos-stop` + +We poured the nitty gritty details of setting up ocis into Makefile targets. After running ``` $ make eos-start From 59bea24b915cccc4a156ba4199a8ef5b1aa69a97 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Weigert?= Date: Thu, 7 May 2020 01:53:32 +0200 Subject: [PATCH 2/2] Update eos.md --- docs/eos.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/eos.md b/docs/eos.md index bbedb587bc..24d2397b78 100644 --- a/docs/eos.md +++ b/docs/eos.md @@ -57,15 +57,15 @@ If you encounter an error when the IdP redirects you back to phoenix, just reloa Create a folder in the ui. Then check it was created in eos: ``` -$ docker exec -it eos-mgm1 eos ls /eos/dockertest/einstein +$ docker exec -it eos-mgm1 eos ls -l /eos/dockertest/reva/users/e/einstein ``` Now create a new folder in eos (using eos-mgm1 you will be logged in as admin, see the `whoami`, which is why we `chown` the folder to the uid and gid of einstein afterwards): ``` $ docker exec -it eos-mgm1 eos whoami -$ docker exec -it eos-mgm1 eos mkdir /eos/dockertest/einstein/rocks -$ docker exec -it eos-mgm1 eos chown 20000:30000 /eos/dockertest/einstein/rocks +$ docker exec -it eos-mgm1 eos mkdir /eos/dockertest/reva/users/e/einstein/rocks +$ docker exec -it eos-mgm1 eos chown 20000:30000 /eos/dockertest/reva/users/e/einstein/rocks ``` Check that the folder exists in the web ui.