On 11/27/24 1:35 PM, Stephen Morris wrote:
On 27/11/24 14:19, Samuel Sieb wrote:
If you run it under sudo, it has no knowledge of a user running it. You will have to do the clean as the user if you want to do that. Apparently I did test this at some point because there's a dnf-* directory owned by my user in /var/tmp.

I checked this out as well, there is a dnf-* directory owned by me in / var/tmp but it is not maintained by the current dnf. Issuing dnf clean all, not under sudo, removed 142 files, 75 directories with 0 errors, but it did not remove the directory in /var/tmp. This folder may not be a folder created by dnf, as the format is dnf - <my user name>-<entry> where "entry" doesn't look to be a hash, as for me "entry" is "erpyrkri".

It won't remove the top-level directory, just like it won't remove /var/cache/dnf when you clean as root.

--
_______________________________________________
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