Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hardcoded user in permission error #5339

Closed
anonymous-matomo-user opened this issue Jun 11, 2014 · 1 comment
Closed

hardcoded user in permission error #5339

anonymous-matomo-user opened this issue Jun 11, 2014 · 1 comment
Assignees
Labels
Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc.

Comments

@anonymous-matomo-user
Copy link

If the tmp directory doesn't have permissions set correctly you give an error page. It starts with the message saying which user the web site is running as:

Piwik couldn't write to some directories (running as user 'apache').

But then appears to have a hardcoded www-data user and group:

Try to Execute the following commands on your server, to allow Write access on these directories:

chown -R www-data:www-data /var/www/html/piwik

It would be a lot better if you pulled the user and group from the system.

@mattab
Copy link
Member

mattab commented Jun 13, 2014

In e1015de: Fixes #5339: do not hardcode user and group in error messages

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc.
Projects
None yet
Development

No branches or pull requests

2 participants