On Sat, Jan 21, 2023 at 6:32 PM old sixpack13 <sixpac...@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-optional-post-upgrade-tasks
. It will help with post-upgrade issues.

Jeff
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to