Does apache always run as root?
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 20/100
Research direction
Reproduce the permission scenario in the project’s PHP container, starting with the Apache configuration and process output described in the issue. No source file or test is named; done would be an explanation of why root-owned files with 700 permissions remain writable and whether the Docker setup is responsible.
Written by the indexing model from the issue text.
Description
I've been struggling attempting to get some security checks to pass but apache/php can always write to files in the web directory. I've changed the apache configuration to run as a different user and ps -ef shows that the subsequent apache instances are running as that user. apachectl -S also shows that apache running as the new user.
However, when files in the web directory are owned by root and the permissions are set to 700 apache/php can still write to the files. Is this just some weird docker thing?
- Dominant language
- Shell
- Stars
- 114
- Forks
- 326
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from sclorg/s2i-php-container
-
Difficulty 2/5 1-3 hours Newbie friendliness 47/100
sclorg/s2i-php-container#523 · 1 comment ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
sclorg/s2i-php-container#478 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
sclorg/s2i-php-container#470 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
sclorg/s2i-php-container#435 · 2 comments · 6 reactions ·
-
Difficulty 5/5 Over a week Newbie friendliness 20/100
sclorg/s2i-php-container#416 · 1 comment ·
All issues in sclorg/s2i-php-container
Similar issues
-
Update Vish to 1.1.5 Openpackage-update
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
oSoWoSo/vOid_Community_repOsitory#144 · 1 comment ·
-
help wanted new command
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
tldr-pages/tldr#24151 ·
-
PacReq: Rune IDE Openpackage request
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
pacstall/pacstall-programs#9402 ·
-
[BUG] ci: the first prefetch-images.sh call runs before shard.txt exists, so it is always a no-op Openbug github-actions
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
update-request
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
msys2/MINGW-packages#31768 ·