xz should warn before overwriting read-only files
Bug #806499 reported by
Guy Taylor
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
xz-utils (Ubuntu) |
Triaged
|
Wishlist
|
Unassigned |
Bug Description
running xz --decompress (unxz) on a readonly file will not show any warning before writing over the file and changing the extension.
This is technically expected behaviour but not sympathetic to the end user.
summary: |
- xz will right over readonly files + xz should warn before overwriting read-only files |
Changed in xz-utils (Ubuntu): | |
importance: | Undecided → Wishlist |
To post a comment you must log in.
Are you still affected? I cannot reproduce this on trusty.
$ echo "test" |xz > /tmp/test.txt.xz
$ chmod uog-rwx /tmp/test.txt.xz
$ unxz /tmp/test.txt.xz