On Sat, Jan 21, 2023 at 6:32 PM old sixpack13 <sixpack13(a)online.de> wrote:
on F37:
ls -lR /root/.cache
/root/.cache:
total 0
dr-x------. 2 root root 0 1. Jan 1970 doc
/root/.cache/doc:
total 0
dr-x------. 2 root root 0 1. Jan 1970 by-app
/root/.cache/doc/by-app:
total 0
rm -rfv /root/.cache/doc
rm: cannot remove '/root/.cache/doc/by-app': Operation not permitted
and
chmod u+w /root/.cache/doc
chmod: changing permissions of '/root/.cache/doc': Operation not permitted
and
chown -R root:root /root/.cache
chown: changing ownership of '/root/.cache/doc/by-app': Operation not permitted
chown: changing ownership of '/root/.cache/doc': Operation not permitted
It sounds like selinux. Under selinux, root is just another account to
be contained.
ls -alZ
will show you the selinux context.
===
Other question:
shouldn't "rpmconf -a" fixes all left over for *.rpm* in *all* directories
?
after an update via "dnf update" the last days I saw there was a file *.rpmsave
(save ?) created under /var/lib/unbound/
It sounds like you modified unbound's config file. Then, during a
system-upgrade, you kept your version of the config file instead of
taking the maintainer's version.
sudo rpmconf -a didn't fix it, but an "dnf reinstall
unbound-libs-1.17.1-1.fc37.x86_64" today did it ...
Also see
https://docs.fedoraproject.org/en-US/quick-docs/dnf-system-upgrade/#sect-...
. It will help with post-upgrade issues.
Jeff