1.6
- revert
fchown(2)
all open file descriptors; turns out that's NOT OK (see discussion #8 for details)
4096R / B42F 6819 007F 00F8 8E36 4FD4 036A 9C25 BF35 7DD4
$ curl -o gosu -sSL "https://github.com/tianon/gosu/releases/download/1.6/gosu-$(dpkg --print-architecture)"
$ chmod +x gosu
$ ./gosu
Usage: ./gosu user-spec command [args]
ie: ./gosu tianon bash
./gosu nobody:root bash -c 'whoami && id'
./gosu 1000:1 id
./gosu version: 1.6 (go1.5.1 on linux/amd64; gc)