← Back to team overview

mahara-contributors team mailing list archive

[Bug 1333071] A patch has been submitted for review

 

Patch for "master" branch: https://reviews.mahara.org/3457

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1333071

Title:
  htmlpurifier sets different permissions in dataroot

Status in Mahara ePortfolio:
  New

Bug description:
  Currently HTML purifier uses its own default directory and file
  permissions when creating files in dataroot, instead of respecting
  those given by $CFG->directorypermissions. That can mean some files
  generated have stricter permissions than specified.

  To reproduce:

  1. Create a config.php file with $cfg->directorypermissions = 0777
  2. Install a mahara site via the command line CLI script
  3. Visit the homepage of the site in a browser
  4. View the dataroot folder and look at the file permissions

  You will notice that most folders have 777 permissions but the
  subdirectories inside htmlpurifier/ have 755.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1333071/+subscriptions


References