I was wondering if there's a way to run shell commands that affect only a certain directory and its subdirectories.
I'm using PHP and I want to make an app that allows the user to execute shell commands from a web page, but I want these commands to be restricted to a directory only