Skip to content

Plugin fails when files owned by another user #23

@zaporylie

Description

@zaporylie

chmod() returns error if files are owned by another user than one triggering composer command. That makes all file disappear (moved to composer cache folder) and never restored.

Maybe we should test if we can perform chmod() operation and fail early with information what have happened.

Ref.

chmod($path, static::FILEPERM);

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