ezpublish-legacy icon indicating copy to clipboard operation
ezpublish-legacy copied to clipboard

EZP-20920: Add EZP_INI_DIRECTORY_PERMISSION constant

Open emodric opened this issue 11 years ago • 2 comments

This pull request fixes two issues I had with permissions in var folder:

  • EZP_INI_FILE_PERMISSION was used to create the var/autoload directory as well as files inside of it. If we want our INI caches and autoload files to have, for example, 0660 permissions, it is not possible to enter the var/autoload directory by eZ Publish as no execute bit was set on it.
  • eZINI class uses hardcoded 0777 value for creating var/cache/ini folder

With this pull request, both of those issues are resolved by using a new constant in config.php

emodric avatar May 24 '13 13:05 emodric

+1 but maybe add a JIRA enhancement issue for this.

andrerom avatar May 24 '13 16:05 andrerom

@andrerom Issue created: EZP-20920 and title of the pull request updated.

emodric avatar May 24 '13 20:05 emodric