mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #19512
[Bug 1333071] A change has been merged
Reviewed: https://reviews.mahara.org/3457
Committed: http://gitorious.org/mahara/mahara/commit/41d4424759416fc34a33e2336a84d45fd88f930f
Submitter: Son Nguyen (son.nguyen@xxxxxxxxxxxxxxx)
Branch: master
commit 41d4424759416fc34a33e2336a84d45fd88f930f
Author: Simon Coggins <simon.coggins@xxxxxxxxxxxxx>
Date: Fri Jun 20 20:14:16 2014 +1200
Configure htmlpurifier to use same directory permissions as Mahara (Bug
#1333071)
This is needed to ensure the permissions of files/folders in dataroot
are correct for unit testing
Change-Id: I7877c22e0a5140e07d2c4fddaeb10e2f5ffc34ad
Signed-off-by: Simon Coggins <simon.coggins@xxxxxxxxxxxxx>
--
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:
In Progress
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