Skip to content

Fix permission denied of unix socket.#33

Merged
wu-sheng merged 5 commits intoapache:masterfrom
jmjoy:permission
Nov 20, 2022
Merged

Fix permission denied of unix socket.#33
wu-sheng merged 5 commits intoapache:masterfrom
jmjoy:permission

Conversation

@jmjoy
Copy link
Member

@jmjoy jmjoy commented Nov 18, 2022

Mentioned in apache/skywalking#9943 (reply in thread) .

I found this is because the php-fpm manager process is run under root, but pool processes is run under other user.

So I fix it by change the socket file mode to 0777.

@jmjoy jmjoy added the bug Something isn't working label Nov 18, 2022
@jmjoy jmjoy added this to the 0.2.0 milestone Nov 18, 2022
@jmjoy jmjoy marked this pull request as ready for review November 18, 2022 07:34
@jmjoy jmjoy requested a review from heyanlong November 18, 2022 07:34
@jmjoy
Copy link
Member Author

jmjoy commented Nov 18, 2022

@heyanlong Please review the code if you are free.

@wu-sheng wu-sheng merged commit 0298928 into apache:master Nov 20, 2022
@jmjoy jmjoy deleted the permission branch November 21, 2022 01:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants