directorypermissions setting not working

Bug #788124 reported by Uwe Böttcher
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Fix Released
Medium
Hugh Davenport

Bug Description

On the server our Mahara installation is hosted on, the Mahara administrator (which is me) does not have server admin rights. So I tried to change the directorypermissions setting, which is introduced in lib/config-defaults.php

I did not succeed, so I investigated further. In uploadmanager.php the chmod command uses the constant value 0700 for the permissions instead of the config value directorypermissions, so it seems the config value is not working and unused.

In my environment I need to change those default setting 0700, because I'm not the server admin and backups are needed with every version update. I changed the source code of Mahara as a quick&dirty workaround, but in further versions this problem could be avoided.

Mahara 1.3.6, OS Linux, Database MySQL, Firefox 3.6.14

Revision history for this message
Uwe Böttcher (boettcher) wrote :

As Mahara 1.4RC is already available, I checked that version, too. It has the same command in uploadmanager.php and thus should have the same problem there.

Changed in mahara:
status: New → Triaged
importance: Undecided → Medium
Revision history for this message
François Marier (fmarier) wrote :

This is related to this forum thread:

  http://mahara.org/interaction/forum/topic.php?id=3622

Revision history for this message
Hugh Davenport (hugh-davenport) wrote :
Changed in mahara:
assignee: nobody → Hugh Davenport (hugh-catalyst)
status: Triaged → In Progress
Changed in mahara:
status: In Progress → Fix Committed
Changed in mahara:
milestone: none → 1.5.0
Melissa Draper (melissa)
Changed in mahara:
status: Fix Committed → Fix Released
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.