Skip to content

use find instead of ls -n #3

@3qdev

Description

@3qdev

use this

if [[ -z "$(find $PROJECT_DIR -maxdepth 0 -printf '%U' | grep $PHP_UID_DEFAULT)" ]]; then

in entrypoint.sh

When you have a file with timestamp e.g. 18:33 and a UID 33 for www-data your script fails.

Thank you for sharing you knowledge, saved my day.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions