Gentoo Archives: gentoo-user

From: Dr Rainer Woitok <rainer.woitok@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: Root can't write to files owned by others?
Date: Thu, 10 Mar 2022 09:55:27
Message-Id: 25129.51965.935041.398574@tux.local
1 Greetings,
2
3 On Wednesday, 2022-03-09 19:28:49 +0100, I myself wrote:
4
5 > ...
6 > $ touch /tmp/file
7 > $ ls -l /tmp/file
8 > -rw------- 1 rainer rainer 0 2022-03-09 19:06 /tmp/file
9 > $ echo x | sudo tee /tmp/file
10 > Password:
11 > tee: /tmp/file: Permission denied
12 > x
13 > $ ...
14 > $
15
16 Big thanks to all kind people making suggestions. But up to now nothing
17 helped.
18
19 > ...
20 > When I'll have time to reboot, I'll test the above commands on my old
21 > kernel, 5.15.19.
22
23 Surprisingly, this did in fact help. My rig is back to normal behav-
24 iour! :-O
25
26 For what it's worth, these were the only kernel configuration changes
27 when building kernel 5.15.26 while running kernel 5.15.19 using
28
29 # make olddefconfig
30
31 -CONFIG_CC_VERSION_TEXT="gcc (Gentoo 11.2.0 p1) 11.2.0"
32 +CONFIG_CC_VERSION_TEXT="gcc (Gentoo 11.2.1_p20220115 p4) 11.2.1 20220115"
33 -CONFIG_GCC_VERSION=110200
34 +CONFIG_GCC_VERSION=110201
35 +# CONFIG_FRAMEBUFFER_CONSOLE_LEGACY_ACCELERATION is not set
36
37 So again: what am I missing? For the time being I'll stay with this old
38 kernel version, even though it's no longer available upstream.
39
40 Sincerely,
41 Rainer

Replies

Subject Author
[gentoo-user] Re: Root can't write to files owned by others? Nikos Chantziaras <realnc@×××××.com>
Re: [gentoo-user] Re: Root can't write to files owned by others? "Björn Fischer" <bf@×××××××××××××××××××××.DE>