Skip to content

Add option to by bypass find filtering #3

@rsanzante

Description

@rsanzante

The script checks every file and folder using find (

find "$1" $detected_vendor_path \( ! -user $drupal_user -o ! -group $httpd_group \) \( -type f -o -type d \) -print0 | xargs -r -0 -L20 chown $drupal_user:$httpd_group
).

This could be non-performant if all files and folders or most of them need fix.

A script flag/option can be added to skip this filtering.

Next steps

  • Test that there's really a performance penalty and measure it
  • Add the option if the penalty is big enough

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions