From e365c82ba636f9eb785b5d7ad101d9bbd170eb87 Mon Sep 17 00:00:00 2001 From: Mark Wooding Date: Sun, 24 Apr 2016 23:30:30 +0100 Subject: [PATCH] with-authinfo-kludge.1: Clarifications about finding the runtime dir. --- with-authinfo-kludge.1 | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/with-authinfo-kludge.1 b/with-authinfo-kludge.1 index 070148a..117c474 100644 --- a/with-authinfo-kludge.1 +++ b/with-authinfo-kludge.1 @@ -493,6 +493,10 @@ The runtime directory is chosen as follows. If the .B \-d option is present, then its value is used. +Otherwise, if the configuration file specifies +a value for the global +.B rundir +parameter then that it used. .hP 2. If the environment variable .B XDG_RUNTIME_DIR @@ -556,12 +560,13 @@ Let be the local machine's hostname, as reported by .BR gethostname (2). -If +Then .IB cache-home /with-authinfo-kludge. hostname -does not exist, +is used as the runtime directory. +.PP +If the directory chosen by the above procedure does not exist, then it is created as a directory, with mode 0700 (and modified by the umask). -This directory is then used as the runtime directory. (If it exists, but is not in fact a directory, then later operations will fail.) .PP -- 2.11.0