Re: is root realy root ?

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

 



On Sat, Jan 21, 2023 at 6:32 PM old sixpack13 <sixpack13@xxxxxxxxx> 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@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux