[Reproducible-builds] Bug#756935: proot: cwd is not changed when target is bind mounted and matching proot cwd
Jérémy Bobbio
lunar at debian.org
Sun Aug 3 17:06:18 UTC 2014
Package: proot
Version: 4.0.0-1
Severity: normal
User: reproducible-builds at lists.alioth.debian.org
Usertags: toolchain
Hi!
Some lines of shells are sometimes better than lengthly explainations:
$ mkdir -p /tmp/a
$ cd /tmp/a
$ proot -b /tmp/a:/test -w /test bash -c 'pwd'
/tmp/a
This should output `/test`. It seems that the directory change is
not done is this particular case. It indeed does if the current working
directory is different than the one being bind-mounted:
$ mkdir -p /tmp/a
$ cd /tmp
$ proot -b /tmp/a:/test -w /test bash -c 'pwd'
/test
--
Lunar .''`.
lunar at debian.org : :Ⓐ : # apt-get install anarchism
`. `'`
`-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/reproducible-builds/attachments/20140803/b47b9b84/attachment.sig>
More information about the Reproducible-builds
mailing list