ish-app / ish

Linux shell for iOS
https://ish.app
Other
16.33k stars 855 forks source link

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

Open kuflierl opened 4 months ago

kuflierl commented 4 months ago

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

kuflierl commented 4 months ago

The PR #2352 should fix this