[Yum-devel] writing out the cache and yum-utils

seth vidal skvidal at phy.duke.edu
Sat Jun 18 11:50:59 UTC 2005


> Yes, whatever is better than requiring root for something that doesn't
> require root at all. I would perhaps go as far as just using something
> like /var/tmp/yum-cache-$USER *by default* when not running as root.
> Perhaps even $TMP/yum-cache-$USER if $TMP is defined for the user?

you'd still need to make it a randomly determined dir (mkstemp)
otherwise we'd be opening up for an exploit.


> /var/tmp instead of /tmp because some crazy people have /tmp on tmpfs :)

fair enough.

-sv







More information about the Yum-devel mailing list