Skip to content

Fixing Permissions Problems

You might have permissions issues caused by non-matching uid/gid on your host machine and the default user in php container.


Since version 5.0 the default php container user wodby has uid/gid 1000 that matches the default uid/gid for most popular Linux distributions.


Use -dev-macos version of php image where default wodby user has 501:20 uid/gid that matches default macOS user.


Since you can't change owner of mounted volumes in Docker for Win, the only solution is to run everything as root, add the following options to php service in your docker-compose file:

    user: root
    command: "php-fpm -R"
      PHP_FPM_USER: root
      PHP_FPM_GROUP: root