diff --git a/doc/dnf5.conf.5.rst b/doc/dnf5.conf.5.rst index 2a72e4cad..46e45bddb 100644 --- a/doc/dnf5.conf.5.rst +++ b/doc/dnf5.conf.5.rst @@ -99,7 +99,9 @@ repository configuration file should aside from repo ID consists of baseurl, met Has a reasonable root-writable default depending on the distribution. DNF5 needs to be able to create files and directories at this location. - Default: ``/var/cache/libdnf5``. + Regular user default: ``/home/$USER/.cache/libdnf5``. + + For superuser the value is overwritten by :ref:`system_cachedir <_system_cachedir_options-label>` option. .. _cacheonly_options-label: @@ -257,7 +259,9 @@ repository configuration file should aside from repo ID consists of baseurl, met Directory where the log files will be stored. - Default: ``/var/log``. + Regular user default: ``/home/$USER/.local/state``. + + Superuser default: ``/var/log``. .. _log_rotate_options-label: @@ -413,6 +417,18 @@ repository configuration file should aside from repo ID consists of baseurl, met Default: TODO add default +.. _system_cachedir_options-label: + +``system_cachedir`` + + :ref:`string ` + + For superuser overwrites the :ref:`cachedir <_cachedir_options-label>` option value. + + Allows to differentiate user and superuser cachedir. + + Default: ``/var/cache/libdnf5``. + .. _system_state_options-label: ``system_state``