PierreZ / goStatic

A really small static web server for Docker
GNU General Public License v2.0
391 stars 77 forks source link

Latest build raises HTTP 403 when folder security is 644 #27

Open HeikoOnnebrink opened 4 years ago

HeikoOnnebrink commented 4 years ago

Up to now we mounted a folder with security 644 into the docker container and all worked fine. In our test stage we rebuild 4 weeks ago from goStatic:latest and face the problem that access to files in the root of mounted folder fail with HTTP 403 access denied.

Changing the folder security to 755 fixed the problem.

Was there some change that introduced this changed behaviour? is this now the new required default for the mounted folder?

PierreZ commented 4 years ago

Hello!

Sorry to hear that :cry:.

Just realized that the automated builds are broken. Let me see what is wrong.

PierreZ commented 4 years ago

Automated build is back online. Can you try with the latest image?

HeikoOnnebrink commented 4 years ago

Thanks for fast feedback.. did the test and problem reproduces with latest build

MicrosoftTeams-image

PierreZ commented 4 years ago

Thanks @HeikoOnnebrink, I will investigate asap.