htmlpurifier sets different permissions in dataroot
Bug #1333071 reported by
Simon Coggins
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Fix Released
|
Low
|
Simon Coggins |
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->directory
To reproduce:
1. Create a config.php file with $cfg->directory
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.
Changed in mahara: | |
importance: | Undecided → Low |
status: | New → In Progress |
Changed in mahara: | |
status: | In Progress → Fix Committed |
milestone: | none → 1.10.0 |
assignee: | nobody → Simon Coggins (simon-coggins) |
Changed in mahara: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Patch for "master" branch: https:/ /reviews. mahara. org/3457