title: Bizarre permission denied problem accessing images on a web server
body: <p>I am unable to figure this out. I was creating a new page to display entries to a photo contest and it's not working for some reason I can't figure out. The new page is almost a clone of an existing page from an earlier photo contest that is working. After spending hours trying to figure it out, I'm stumped.</p>
  <p>I'm running an Apache/2.4.38 (Debian) Server at home for testing web sites. In this case the file structure is like:</p>
  <pre><code>    site/images/contestname/ 
  </code></pre>
  <p>where I have multiple contest names, each with its own directory. The directory permissions are the same in each case - the default for any directory created below &quot;images&quot;, which is the default for any directory created in the &quot;site&quot;.</p>
  <p>The photos in all the directories all have the same ownership and permissions too - owner me, group www-data, with a+r (owner and group can also write).</p>
  <p>The simplest manifestation of the problem is if I use a web browser to view the directory (http://mylocalsite/images/contestname/). This shows the list of files in the directory but when I try to view one, I get:</p>
  <pre><code>    Forbidden
      You don't have permission to access this resource.
  </code></pre>
  <p>It's only happening in this one directory. In all the others, I can click on a file name and see the image. I've tried recreating the directory and moving the images to the new one but that didn't change anything. It's also not browser related as it's happening with both Firefox and Chromium.</p>
  <p>Does anyone have any idea on what the problem may be?</p>