[Bug] Accidental file truncation by attempted write when permission denied.
Open
unconfirmed
- Dominant language
- C
- Stars
- 20.5k
- Forks
- 1.5k
- PR merge metrics
- No merged PRs in 30d
Description
Attempting to write to a file the current user has no write permissions for results in the file being truncated.
This can lead to accidental data loss
Contributor guide
No contributing guide indexed for this repository
Research direction
No file, test, or entry point is named in the issue. Start by reproducing an attempted write to a file without write permission and trace the truncation path; done means the denied write no longer truncates the existing file.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100