title: Create a folder in the /root directory
body: <p>I've tried everything online but I couldn't find a real solution, I have a php file that in local on my computer works perfectly, instead when I load it on my seerver it doesn't create the folder.
  the php contains this string to create a new folder:</p>
  
  <pre><code>shell_exec("mkdir /root/users/$username");
  </code></pre>
  
  <p>I guess that maybe it's a problem of permission, I can just create folders in the var/www folder, dI tried a lot of different way to set my permission but I can't figure it out.</p>