Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-29016

Support changing of $CFG->directorypermissions in moodle installers modified by distributions

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Minor
    • 2.0.5, 2.1.2
    • 1.9.13, 2.0.4, 2.1.1, 2.2
    • Installation
    • MOODLE_19_STABLE, MOODLE_20_STABLE, MOODLE_21_STABLE, MOODLE_22_STABLE
    • MOODLE_20_STABLE, MOODLE_21_STABLE
    • w33_MDL-29016_m22_distropermissions
    • Hide

      1. Ask $INSTALL['directorypermissions']

      2. Use this $INSTALL['directorypermissions'] use as the default for zanachenie $CFG->directorypermissions

      PS: The patch will put later.

      Show
      1. Ask $INSTALL ['directorypermissions'] 2. Use this $INSTALL ['directorypermissions'] use as the default for zanachenie $CFG->directorypermissions PS: The patch will put later.
    • Hide

      1/ create install/distrolib.php with custom permissions
      2/ verify new config.php contains it

      Show
      1/ create install/distrolib.php with custom permissions 2/ verify new config.php contains it

    Description

      The file install.php default value of $CFG->directorypermissions has more than one times:

      1. When you set fake some settings so that we can use selected functions from moodlelib.php and weblib.php
      2. When you create a config file.

      This makes it hard to write a patch that performs the substitution of the correct default values ​​for $CFG->directorypermissions.

      Attachments

        Issue Links

          Activity

            People

              skodak Petr Skoda (Inactive)
              solo Aleksey Avdeev
              Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
              Rajesh Taneja Rajesh Taneja
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Clockify

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.