$CFG->filepermissions calculation in init.php provides unexpected result

Bug #1508743 reported by Richard Hills
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Invalid
Undecided
Unassigned
Mahara manual
Confirmed
Undecided
Unassigned

Bug Description

Mahara 15.04.3
Linux (CentOS)

I have the $CFG->directorypermissions set to 0740 and expected filepermissions to come out to 0640 however they were coming out as 0416.

Once I changed the settings for both of the permission values to be strings "0740" and "0660" the expected result 0640 was returned.

Revision history for this message
Kristina Hoeppner (kris-hoeppner) wrote :

This seems to be more of a documentation error then I guess and we'd just have to mention to enter the permissions as strings. I'll do that for the user manual when I include that cfg value.

tags: added: config
Changed in mahara-manual:
status: New → Confirmed
tags: added: usermanualupdate
removed: config
Changed in mahara:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.