ish-app / ish-app/ish

[Bug] Accidental file truncation by attempted write when permission denied.

Open
#2,349 1 comment 0 reactions 0 assignees View on GitHub
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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.