Skip to content

Commit

Permalink
Merge pull request #61 from sgmdlt/main
Browse files Browse the repository at this point in the history
add help tip about solving uid|gid conflict
  • Loading branch information
fey authored Sep 9, 2024
2 parents ff8ced4 + a814073 commit 2e55c5e
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -130,3 +130,21 @@ See 'docker run --help'.
```

Build downloader `make build-downloader` or see [setup](#setup) or fresh installation

---

The hint below is for linux users only.

If you encounter a “Permision denied” error after the `make bash` command or during exercise testing, it means that the volume with the exercise on the host and the container user have different UID.
To solve the problem, you can create a new user on your system with the UID `tirion` (currently UID is `1001`, but may change in the future). Then use the `setfacl` (read more about [ACL](https://www.redhat.com/sysadmin/linux-access-control-lists)) to share permissions on the files

```bash
sudo useradd -u 1001 -m <new-username>
sudo setfacl -R -m u:<new-username>:rwX /path/to/exercise-kit
```

And how to remove permissions

```bash
sudo setfacl -R -x u:<new-username> /path/to/exercise-kit
```

0 comments on commit 2e55c5e

Please sign in to comment.