litespeedtech / litespeedtech/openlitespeed
Force Strict Ownership does not work
Open
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 1.5k
- Forks
- 233
- Avg merge
- 2d 19h
- Merged PRs (30d)
- 5
Description
Steps on how to check it:
- Install OLS on Ubuntu 20.04 according to the manual.
- WebAdmin > Server Configuration > Security > File Access: Force Strict Ownership = Yes
cd /usr/local/lsws/Examplechown -R www-data:www-data .cd htmlchown root:root ./index.html- `curl -v http://localhost:8088/index.html 2>&1 | grep HTTP'
> GET /index.html HTTP/1.1
< HTTP/1.1 200 OK
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.
Research direction
Reproduce the reported behavior using the WebAdmin File Access setting, the ownership changes under /usr/local/lsws/Example, and the provided curl command. Trace how Force Strict Ownership is handled for the requested file; done when a root-owned index.html is rejected as expected instead of returning HTTP 200.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, linux, ubuntu
- Domain
- security
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100