Skip to content

Unable to run clear:cache in development mode #38

@d3vpunk

Description

@d3vpunk

It's not possible to clear the cache of my symfony2 application. The PdfBundle internally uses some zf_cache with www-data rights (the user linux uses when you run your application in the browser.
In the console, you run the app/console with another user who is not able to delete the folder:

So it's not possible to delete the cache folder:

[UnexpectedValueException]
FilesystemIterator::__construct(/app/cache/dev_old/zfcache-fa): failed to open dir: Permission denied

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