[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1055961: marked as done (cap_dac_override ignored in +t dirs ?)



Your message dated Thu, 16 Nov 2023 00:48:47 +0100
with message-id <20231115234847.g5n2bilovo3rg6xy@shell.thinkmo.de>
and subject line Re: Bug#1055961: cap_dac_override ignored in +t dirs ?
has caused the Debian Bug report #1055961,
regarding cap_dac_override ignored in +t dirs ?
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
1055961: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1055961
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
package: linux-image-6.5.0-2-amd64-unsigned
version: 6.5.6-1 

root@pc:/tmp# ls -ld .
drwxrwxrwt 19 root root 500 ноя 14 21:40 .
root@pc:/tmp# sudo -u daemon touch xxx
root@pc:/tmp# ls -l xxx
-rw-rw-r-- 1 daemon daemon 0 ноя 14 21:54 xxx
root@pc:/tmp# echo test >>xxx
bash: xxx: Permission denied
root@pc:/tmp# uname -a
Linux vps 6.5.0-2-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.5.6-1 (2023-10-07) x86_64 GNU/Linux


This happens only in quite new debian-based kernels (ubuntu also)
Not happens in not-debian based distros and older debian/ubuntu versions

--- End Message ---
--- Begin Message ---
On Tue, Nov 14, 2023 at 10:58:17PM +0300, k@vodka.home.kg wrote:
> root@pc:/tmp# ls -ld .
> drwxrwxrwt 19 root root 500 ноя 14 21:40 .
> root@pc:/tmp# sudo -u daemon touch xxx
> root@pc:/tmp# ls -l xxx
> -rw-rw-r-- 1 daemon daemon 0 ноя 14 21:54 xxx
> root@pc:/tmp# echo test >>xxx
> bash: xxx: Permission denied

This is expected and no bug, see
https://docs.kernel.org/admin-guide/sysctl/fs.html#protected-regular

Bastian

-- 
It would be illogical to kill without reason.
		-- Spock, "Journey to Babel", stardate 3842.4

--- End Message ---

Reply to: