Control: tags -1 confirmed
Control: severity -1 serious

Hi,

On 10-09-2020 21:07, Paul Gevers wrote:
> So, thanks for the report and the reproducer. I'll try to look into it soon.

While looking at the code, I swore this worked in the past. And so I
tested the following in testing:

paul@mulciber /tmp $ sudo su
root@mulciber:/tmp# touch bla
root@mulciber:/tmp# chmod go-r bla
root@mulciber:/tmp# chown paul: bla
root@mulciber:/tmp# ls -al bla
-rw------- 1 paul paul 0 okt  3 19:21 bla
root@mulciber:/tmp# exec > bla
bash: bla: Permission denied

However, when I do the following on a stable system:
admin@ci-worker05:/tmp$ sudo su
root@ci-worker05:/tmp# touch bla
root@ci-worker05:/tmp# chmod go-r bla
root@ci-worker05:/tmp# chown admin: bla
root@ci-worker05:/tmp# ls -al bla
-rw------- 1 admin admin 0 Oct  3 17:29 bla
root@ci-worker05:/tmp# exec > bla
root@ci-worker05:/tmp# echo hello
root@ci-worker05:/tmp# exit
admin@ci-worker05:/tmp$ cat /tmp/bla
hello

So, this is a regression from buster. I'll need to figure out where this
comes from and/or how to fix this. Suggestions welcome.

Paul

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to