diff options
Diffstat (limited to 'vendor/github.com/sid77')
-rw-r--r-- | vendor/github.com/sid77/drop/README.md | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/vendor/github.com/sid77/drop/README.md b/vendor/github.com/sid77/drop/README.md index 3bea83c..ef71e5f 100644 --- a/vendor/github.com/sid77/drop/README.md +++ b/vendor/github.com/sid77/drop/README.md @@ -18,3 +18,5 @@ if err := drop.DropPrivileges("some user"); err != nil { ``` drop will take care of calling `setre{s}[g,u]id()` depending on the platform it's being run on. + +Beware that if Go coroutines are created *before* dropping the program privileges, some of them may retain the original permissions. This is a [limitation of the Go runtime itself](https://github.com/golang/go/issues/1435). |