Say I run a program like so:
cd foo && program x y z
How can I give program access to only the directories in foo and below?
Pretend my fs looks like:
$HOME/
foo/
bar/
baz/
if I run program in the foo/ dir, it obviously shouldn't have access to what's in bar/ or baz/, etc.
NOTE: My distro is Ubuntu 16.04 if that makes any difference.