osixia / docker-phpLDAPadmin

phpLDAPadmin container image 🐳🌴
MIT License
844 stars 197 forks source link

Wrong permissions in /var/lib/php #52

Open simonbernard opened 5 years ago

simonbernard commented 5 years ago

Hello!

Thanks for this great image! I have a problem with permissions in /var/lib/php. In the browser I am getting the following message: grafik

If I check permissions it looks like this, which really seems not ok: grafik

If I do chmod -R 777 * everything works as expected.

This is the command I used to run the container:

docker run -d --name openldap_admin \
    --restart unless-stopped \
    --hostname openldap_admin \
    --link openldap:openldap \
    -v ldap_admin:/var/www/phpldapadmin \
    -e PHPLDAPADMIN_LDAP_HOSTS=openldap \
    -e PHPLDAPADMIN_HTTPS=false \
    osixia/phpldapadmin

Is something wrong with what I do?