[Bug 806499] Re: xz should warn before overwriting read-only files
Rolf Leggewie
806499 at bugs.launchpad.net
Sat Jun 4 05:13:07 UTC 2016
OK, I was able to verify it now, made a mistake earlier. I'll let
somebody else decide if this is desired behaviour.
Steps to reproduce:
$ echo "test" |xz > /tmp/test.txt.xz
$ chmod 444 /tmp/test.txt.xz
$ unxz /tmp/test.txt.xz
$ ls -la /tmp/test.txt*
-r--r--r-- 1 rolf rolf 5 Jun 4 13:06 /tmp/test.txt
gunzip exhibits the same behaviour, by the way.
** Changed in: xz-utils (Ubuntu)
Assignee: Rolf Leggewie (r0lf) => (unassigned)
** Changed in: xz-utils (Ubuntu)
Status: Incomplete => Triaged
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to xz-utils in Ubuntu.
https://bugs.launchpad.net/bugs/806499
Title:
xz should warn before overwriting read-only files
Status in xz-utils package in Ubuntu:
Triaged
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.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xz-utils/+bug/806499/+subscriptions
More information about the foundations-bugs
mailing list