Skip to content

Don't choke on unreadable directories #4

@andriokha

Description

@andriokha

I have an unreadable directory in my project root, and when trying to add a new dependency an error causes the change to be rolled back consistently.

Installation failed, reverting ./composer.json to its original content.

[Symfony\Component\Finder\Exception\AccessDeniedException]                                                                                          
  RecursiveDirectoryIterator::__construct(/path/to/project/unreadable): failed to open dir: Permission denied

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