On 09/03/2022 20:28, Dr Rainer Woitok wrote:
until recently my system behaves sort of strangely:
$ echo x | sudo tee /tmp/file
Password:
tee: /tmp/file: Permission denied
[...]
Since when can't root write to files it doesn't own? And not even, if
the file has write
Rainer,
using sudo does not makes you a root user. To become a root user you have to
switch with "su -" (and login with root password).
Sudo has its own configuration file. If you can do something with sudo on other
systems means there is a different configuration for sudo.
Check "man sudo"
On 3/8/22 20:48, Matt Connell wrote:
On Tue, 2022-03-08 at 16:12 -0700, the...@sys-concept.com wrote:
In /usr/src/linux is pointing correctly:
linux -> linux-5.10.61-gentoo
5.10.61 isn't offered by gentoo-sources anymore. I think you probably
depcleaned it at some point since then, so
On 2022.03.09 13:28, Dr Rainer Woitok wrote:
Greetings,
until recently my system behaves sort of strangely:
$ touch /tmp/file
$ ls -l /tmp/file
-rw--- 1 rainer rainer 0 2022-03-09 19:06 /tmp/file
$ echo x | sudo tee /tmp/file
Password:
tee: /tmp/file: Permission denied
Greetings,
until recently my system behaves sort of strangely:
$ touch /tmp/file
$ ls -l /tmp/file
-rw--- 1 rainer rainer 0 2022-03-09 19:06 /tmp/file
$ echo x | sudo tee /tmp/file
Password:
tee: /tmp/file: Permission denied
x
$ chmod a+w /tmp/file
$ ls -l
5 matches
Mail list logo