ssossossosso

Forums

Covering OroCRM topics, including community updates and company announcements.  Subscribe

This topic contains 4 replies, has 3 voices, and was last updated by alanstorm alanstorm 2 years, 7 months ago.

  • Creator
    Topic
  • #630
    alanstorm
    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
  • #633
    Yevhen Shyshkin
    Yevhen Shyshkin
    Oro Core

    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:

    #634
    Dmitry Khrysev
    Dmitry Khrysev
    Oro Core

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

    #645
    alanstorm
    alanstorm
    Participant

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

    #7415
    alanstorm
    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.