You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by ad...@apache.org on 2016/06/28 19:32:56 UTC
incubator-mynewt-site git commit: Fix file ownership on linux
Repository: incubator-mynewt-site
Updated Branches:
refs/heads/develop ff35e16f1 -> 2de49c3cc
Fix file ownership on linux
Pass the current user and group so the container creates files with the
correct ownership on Linux.
This closes #97.
Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/commit/2de49c3c
Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/tree/2de49c3c
Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/diff/2de49c3c
Branch: refs/heads/develop
Commit: 2de49c3cc41c12e383144e65d99b7bba35afa0ef
Parents: ff35e16
Author: spoonofpower <sp...@gmail.com>
Authored: Mon Jun 27 17:57:56 2016 -0700
Committer: aditihilbert <ad...@runtime.io>
Committed: Tue Jun 28 12:32:11 2016 -0700
----------------------------------------------------------------------
docs/os/get_started/docker.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/2de49c3c/docs/os/get_started/docker.md
----------------------------------------------------------------------
diff --git a/docs/os/get_started/docker.md b/docs/os/get_started/docker.md
index 2a80cc6..cdaabd5 100644
--- a/docs/os/get_started/docker.md
+++ b/docs/os/get_started/docker.md
@@ -25,7 +25,7 @@ Use the newt wrapper script to invoke newt. Create the following file, name it
```bash
#!/bin/bash
-docker run -ti --rm --device=/dev/bus/usb --privileged -v $(pwd):/workspace -w /workspace mynewt/newt:latest /newt "$@"
+docker run -e NEWT_USER=$(id -u) -e NEWT_GROUP=$(id -g) -e NEWT_HOST=$(uname) -ti --rm --device=/dev/bus/usb --privileged -v $(pwd):/workspace -w /workspace mynewt/newt:latest /newt "$@"
```
<br>