EC-CUBE が作成するファイルのパーミッション設定の見直し
Open
Nobody has claimed this yet.
improvement
security
- Dominant language
- PHP
- Stars
- 788
- Forks
- 719
- Avg merge
- 3d 20h
- Merged PRs (30d)
- 45
Description
概要(Overview)
現状では EC-CUBE でファイルを作成する際、 666 や 777 でファイルが作成されてしまう。
適切にパーミッションの設定をしたい。
ただしサーバの設定により、適切な設定が異なるため、その考慮が必要。
期待する内容(Expect) or 要望 (Requirement)
再現手順(Procedure)
環境 (environment)
- EC-CUBE: 4.0.x
関連情報 (Ref)
Contributor guide
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
The issue names no files, tests, or entry points. Start by locating the EC-CUBE code paths that create files and checking how their permissions interact with server settings; define the expected permission behavior for different configurations before making a change. Done means created files and directories no longer default to overly broad permissions while remaining usable under supported server setups.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- backend, security
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100