title: does chroot() require root privileges?
body: <p>When I try to use chroot with &quot;.&quot; or the complete pathname as argument, perror tells me &quot;Operation not permitted&quot;.</p>
  <p>If the answer to my question is yes, is there another way to change root directory ? (Without barbarian methods using strcmp() / strncmp())</p>