Merge pull request #250 from owncloud/jnweiger-docs-eos-preconditions

Update eos.md
This commit is contained in:
Michael Barz
2020-05-07 12:35:35 +02:00
committed by GitHub

View File

@@ -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
@@ -53,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.