chiark
/
gitweb
/
~mdw
/
with-authinfo-kludge
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
afaf8da
)
with-authinfo-kludge.1: Clarifications about finding the runtime dir.
author
Mark Wooding
<mdw@distorted.org.uk>
Sun, 24 Apr 2016 22:30:30 +0000
(23:30 +0100)
committer
Mark Wooding
<mdw@distorted.org.uk>
Sun, 24 Apr 2016 22:33:56 +0000
(23:33 +0100)
with-authinfo-kludge.1
patch
|
blob
|
blame
|
history
diff --git
a/with-authinfo-kludge.1
b/with-authinfo-kludge.1
index 070148a3ac26330b3ad0cf575ff35e5d28be5f2c..117c474ac21194b9b4caa9d2ed5346699f1cf27c 100644
(file)
--- 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.
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
.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).
be the local machine's hostname,
as reported by
.BR gethostname (2).
-If
+Then
.IB cache-home /with-authinfo-kludge. hostname
.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).
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
(If it exists, but is not in fact a directory,
then later operations will fail.)
.PP