Skip to content

Loading…

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

Closed
mattab opened this Issue · 2 comments

1 participant

@mattab
Piwik Open Source Analytics member

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
Piwik Open Source Analytics member

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
Piwik Open Source Analytics member

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 pushed a commit that referenced this issue
@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 pushed a commit to sabl0r/piwik that referenced this issue
@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.