← Back to team overview

mahara-contributors team mailing list archive

[Bug 911538] A change has been merged

 

Reviewed:  https://reviews.mahara.org/1006
Committed: http://gitorious.org/mahara/mahara/commit/9c5d33b7907fe31568659618c2673029e321e9e1
Submitter: Francois Marier (francois@xxxxxxxxxxxxxxx)
Branch:    master

commit 9c5d33b7907fe31568659618c2673029e321e9e1
Author: Hugh Davenport <hugh@xxxxxxxxxxxxxxx>
Date:   Wed Jan 25 12:12:09 2012 +1300

    Change recommendation of dir perms from 777 to 755
    
    Bug #911538
    
    Change-Id: I10cfdb5f08e1e04f0e76b37d5937eed0a123a092
    Signed-off-by: Hugh Davenport <hugh@xxxxxxxxxxxxxxx>

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
https://bugs.launchpad.net/bugs/911538

Title:
  Dangerous advice for shared hosting in config-defaults.php

Status in Mahara ePortfolio:
  Fix Committed

Bug description:
  In htdocs/lib/config-defaults.php, we currently have the following:

    // directorypermissions - what permissions to use for files and directories in 
    // dataroot. The default allows only the web server user to read the data. If 
    // you're on shared hosting and might want to download the contents of your 
    // dataroot later (e.g. for backup purposes), set this to 0777. Otherwise, 
    // leave it as is!
    //$cfg->directorypermissions = 0700;

  I don't see a reason for the 0777 recommendation. That should probably
  be a 0755.

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


References