Take the tour ×  Were I root, I could simply create a dummy
user/group, set file permissions accordingly and execute the
process as that user. However I am not, so is there any way to
achieve this without being root?  share|improve this question
@alex: I have a script executing multiple simulations (in
different directories) and want to make sure no matter how bad
the programming they can only access files in their own
directory and not accidentally modify e.g. the output of the
other simulations –  Tobias Kienzler Jan 25 '11 at 15:10
@Tobias: I got your point. chroot would naturally fit there, but
then again you're not root. –  alex Jan 25 '11 at 16:12 I think
that selinux, apparmor, and grsecurity, might be able to do
this, but I'm not sure. but then if those aren't available or
configured by the sys admin, you're sol on that. – 
xenoterracide Jan 25 '11 at 22:31 Such a question has been
something for me to wonder about for years. It seems to be such
a natural wish: without being root, to be able to run pro