Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-21898

Clearing Cache on CLI via ezpublish/console changes folder permissions

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Medium Medium
    • Customer request
    • 5.1, 5.2
    • Documentation
    • None

    Description

      this documentation provides settings to setup the permissions on a system without ACL:
      https://confluence.ez.no/pages/viewpage.action?pageId=12125276

      the examples are not clear. it is not explained that on systems without acl cache files generated will get permissions only for the user that created them. there are two cases:

      • after issuing the commands, if a console command is immediately run that changes caches, Sf will make those caches available only to the cli user, so it causes errors on the website.
      • on a running site, console commands that changes files, such a ezpublish/console cache:clear will show an error with writeable permissions and abort.

      currently the setting of permissions must be performed every time before/after a cli command, or the command must be run with the "su" command for www-data, or equivalent user.

      Attachments

        Activity

          People

            Unassigned Unassigned
            paulo.bras-obsolete@ez.no Paulo Bras (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 hour
                1h