Re: dnf cache downloading behavior

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

 



On Sat, Jul 22, 2017 at 3:54 PM, Matthew Miller
<mattdm@xxxxxxxxxxxxxxxxx> wrote:
> On Sat, Jul 22, 2017 at 02:06:42PM -0600, Chris Murphy wrote:
>> > I dunno; what harm is there in giving the ability to use a separate
>> > user cache for queries? This allows you to do things like repoquery as
>> > an unprivileged user for repos that aren't enabled by default.
>> I'm fine with a layered approach, *if* a repo db does not exist for
>> root, then it's OK for a user copy to be downloaded, but how about one
>> for all users to share rather than each user getting a downloaded copy
>> of the same thing?
>
> How? Setuid downloader? Or make it world-writable? Seems sketchy.

Unprivileged writes for any user goes in /var/tmp/dnf rather than a
user specific directory. And reads from any user or root include
/var/tmp/dnf databases as well as /var/cache/dnf.


>
>> > Hmmmm. The `dnf -C` (or --cacheonly) flag does not seem to work as
>> > documented. It says:
> [...]
>> Yep I've hit this also.
>
> Once this is fixed, I'm going to `alias dnf='dnf -c'` in my own user
> account.

Brilliant. That might just fix the whole thing.



-- 
Chris Murphy
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux