ssossossossosso

Forums

This topic contains 4 replies, has 3 voices, and was last updated by  alanstorm 3 years, 1 month ago.

  • Creator
    Topic
  • #29906

    alanstorm
    Participant

    Is there a recommend way of setting up a *nix* system with the correct file permissions to run OroCRM and OroPlatform applications?

    I’m specifically running into a few problems with the cache. Running

    $ php app/console cache:clear --env=dev

    as a regular user won’t always clear out cache files created during web requests. (since the web requests are created by a different user with different permissions).

    Similarly, warming the cache with the CLI application will sometimes create cache files the web server user can’t write to when it needs to.

    Is there a preferred/idea setup to get this all working smoothly while still maintaining the apache _www user separation?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Author
    Replies
  • #29907

    Yevhen Shyshkin
    Participant

    You can try to set up permissions according to Symfony installation guide:
    http://symfony.com/doc/current/book/installation.html#configuration-and-setup.

    For example, for ext4 I use following commands:

    #29908

    Dmitry Khrysev
    Participant

    Another shortcut. It should be executed from OroCRM installation directory.

    #29909

    alanstorm
    Participant

    Thanks Yeveh, that seems like the way to do it.

    #29910

    alanstorm
    Participant

    Removing myself from follow up replies.

Viewing 4 replies - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.