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

@mattab
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

@mattab
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.

@mattab
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)

@mattab mattab added this to the 2.3.0 - Piwik 2.3.0 milestone
@mattab mattab self-assigned this
@fhemberger fhemberger referenced this issue from a commit
@mattab 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
@sabl0r sabl0r referenced this issue from a commit in sabl0r/piwik
@mattab 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.