Bug#954230: libc6: In a sticky directory root cannot write to files owned by normal users

2020-04-18 Thread Matthias Ferdinand
it seems the difference lies in handling of O_CREAT. # ls -ldn /var/tmp /var/tmp/hello drwxrwxrwt 400 183 Apr 18 10:37 /var/tmp -rw-rw-r-- 1 1002 1002 14 Apr 18 10:37 /var/tmp/hello # echo 'howdy' >>/var/tmp/hello bash: /var/tmp/hello: Permission denied # cat

Bug#954230: libc6: In a sticky directory root cannot write to files owned by normal users

2020-03-18 Thread ziegler
Package: libc6 Version: 2.30-2 Severity: important Dear Maintainer, after I installed libc6 2.30-2 today I observed that root could not write to files in /tmp owned by other users. For example, if I have a file -rw-r--r-- 1 ziegler ziegler 3 Mar 18 22:31 /tmp/foo , then, if root (!) issues the