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

Permission error #15947

Closed
G4Zz0L1 opened this issue May 13, 2020 · 3 comments
Closed

Permission error #15947

G4Zz0L1 opened this issue May 13, 2020 · 3 comments
Labels
answered For when a question was asked and we referred to forum or answered it.

Comments

@G4Zz0L1
Copy link

G4Zz0L1 commented May 13, 2020

I think there's something wrong with the permission checks that matomo is doing here.
I've everything on http:http, with proper 755 on every folders and 644 on every files (like every other virtualhost that normally works on this server).
So, apache can read/write everything as it should be.
Php-fpm also runs on http user, so it shouldn't be a problem.

image

The strange part are the following warnings (sorry for the locale).
I can't understand why it can't write on those folders or wrongly report permissions on those files.

image
image
image
image

@tsteur
Copy link
Member

tsteur commented May 14, 2020

Hi @G4Zz0L1 what are the permissions on the symlinked directories?

@G4Zz0L1
Copy link
Author

G4Zz0L1 commented May 14, 2020

Actually I've found out that the culprit it's the update to PHP 7.4.
The main cause it's the option ProtectSystem of systemd, which cause the folders to go read-only.
ref: https://www.freedesktop.org/software/systemd/man/systemd.exec.html#Sandboxing
I think we can close this, sorry for the trouble.

@tsteur
Copy link
Member

tsteur commented May 14, 2020

Glad you found out what the culprit was and thanks for letting us know about this @G4Zz0L1

@tsteur tsteur closed this as completed May 14, 2020
@tsteur tsteur added the answered For when a question was asked and we referred to forum or answered it. label May 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
answered For when a question was asked and we referred to forum or answered it.
Projects
None yet
Development

No branches or pull requests

2 participants