Uploaded image for project: 'Moodle Community Sites'
  1. Moodle Community Sites
  2. MDLSITE-2345

Perform some verifications about dir/file permissions being used properly

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Low Low
    • Integration
    • None

      Basically is about to verify (with the code-checker?) that:

      1) Recommend the use of make_(temp|cache|upload)_directory() when mkdir() calls are found.
      2) Verify all calls to mkdir() are passing $CFG->directorypermissions
      3) Each time a file is written, verify its permissions are being set. Basically check that after calling to fclose() or file_put_contents() there is a call to chmod() with the proper permissions.

      Ciao

            Unassigned Unassigned
            stronk7 Eloy Lafuente (stronk7)
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:

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