Skip to content

archwiki: fix directory permissions

!51 (closed) set too strict permissions for the archwiki home directory:

  • home directory needs 751 - nginx accesses it to serve static files
  • cache and sessions directories are used only by PHP -> 750
  • uploads is public -> 755

Note that the "fix home permissions" task was duplicated. Other tasks fixing permissions were moved above.

TODO: what to do with the uploads directory? It seems unused - the default value for $wgUploadDirectory is "{$IP}/images" since MW 1.8 and we don't override it anywhere, so all uploaded files should be served from public/images/.

Edited by Jakub Klinkovský

Merge request reports

Loading