Dompdf - Chroot cant find file in Directory <p>When i try to load a HTML file which is in my storage Directory of my Laravel Project. I specified the path correctly and the file is there.</p> <p>I tried moving the html file to the root of dompdf in the vendor map but that didn't help. Changing the path of chroot messes with other parts of dompdf itself. giving an error about not being able to find fonts.</p> <p>This is the error i get</p> <pre><code>`Permission denied on &lt;!DOCTYPE html&gt; &lt;html&gt; &lt;head lang="en"&gt; &lt;meta charset="UTF-8"&gt; &lt;title&gt;&lt;/title&gt; &lt;/head&gt; &lt;body&gt; &lt;div class="body"&gt; &lt;h2&gt;test&lt;/h2&gt; &lt;hr/&gt; &lt;p class="content"&gt;content test&lt;/p&gt; &lt;/div&gt; &lt;/body&gt; &lt;/html&gt;. The file could not be found under the directory specified by Options::chroot.` </code></pre> <p>Are there any changes I could make in dompdf.php or Options.php to make it work?</p>