Skip to content

withDirectoryMode do nothing, ignored #46

@sartor

Description

@sartor

What steps will reproduce the problem?

->withDirectoryMode(0777)
->withDirectoryLevel(0);

What is the expected result?

directory created with 0777

What do you get instead?

directory created with default 0775

Additional info

Q A
Version 2.0.0
PHP version 8.1
Operating system Linux Mint 20.3

Because of createDirectoryIfNotExists() in FileCache constructor building object with other than default directory mode will be ignored

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions