Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Piwik will chmod files created in tmp/* 750 instead of 755 #5034

Closed
mattab opened this Issue · 2 comments

1 participant

Matthieu Aubry
Matthieu Aubry
Owner

For increasing security, Piwik should chmod files in tmp/ folder with 0750 permission (instead of current 755).

  • Update chmod commands
  • Update the messages shown on screen that mention "chmod"

follows up #1833, #4046

Matthieu Aubry
Owner

In f1f4a7a: Fixes #5034 chmod files created in tmp/* as 0750 instead of 0755
The code should fallback to 0755 if the webserver user still cannot write to the directory.

Matthieu Aubry
Owner

In 6c6e5e9: Refs #5034 Only restrict chmod 0750 to folders in tmp/*
It causes otherwise issues with folders in plugins/* which serve assets such as HTML files (for AngularJS modules)

Matthieu Aubry mattab added this to the 2.3.0 - Piwik 2.3.0 milestone
Matthieu Aubry mattab self-assigned this
Frederic Hemberger fhemberger referenced this issue from a commit
Matthieu Aubry mattab Refs #5034 Only restrict chmod 0750 to folders in tmp/*
It causes otherwise issues with folders in plugins/* which serve assets such as HTML files (for AngularJS modules)
6c6e5e9
Philip Taffner sabl0r referenced this issue from a commit in sabl0r/piwik
Matthieu Aubry mattab Fixes #5034 chmod files created in tmp/* as 0750 instead of 0755
The code should fallback to 0755 if the webserver user still cannot write to the directory.
f1f4a7a
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.