mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #04125
[Bug 788124] Re: directorypermissions setting not working
https://reviews.mahara.org/255
** Changed in: mahara
Assignee: (unassigned) => Hugh Davenport (hugh-catalyst)
** Changed in: mahara
Status: Triaged => In Progress
--
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
https://bugs.launchpad.net/bugs/788124
Title:
directorypermissions setting not working
Status in Mahara ePortfolio:
In Progress
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
References