← Back to team overview

mahara-contributors team mailing list archive

[Bug 1508743] [NEW] $CFG->filepermissions calculation in init.php provides unexpected result

 

Public bug reported:

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.

** Affects: mahara
     Importance: Undecided
         Status: New

-- 
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/1508743

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

Status in Mahara:
  New

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.

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


Follow ups