~mdw
/
with-authinfo-kludge
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
with-authinfo-kludge.1: Clarifications about finding the runtime dir.
[with-authinfo-kludge]
/
with-authinfo-kludge.1
diff --git
a/with-authinfo-kludge.1
b/with-authinfo-kludge.1
index
9a6f940
..
117c474
100644
(file)
--- a/
with-authinfo-kludge.1
+++ b/
with-authinfo-kludge.1
@@
-210,7
+210,7
@@
If any are present, they take the place of any configuration file:
an error is reported if a
.B \-f
option was passed.
an error is reported if a
.B \-f
option was passed.
-A server configuration starts with
+A server configuration starts with
an argument consisting of a server name prefixed by a
.RB ` + '
character:
an argument consisting of a server name prefixed by a
.RB ` + '
character:
@@
-472,7
+472,7
@@
No configuration file could be found,
so a default configuration is constructed, as follows.
Let
.I nntp-server
so a default configuration is constructed, as follows.
Let
.I nntp-server
-be the value of the
+be the value of the
.B NNTPSERVER
environment variable;
if it is not set, then a fatal error is reported.
.B NNTPSERVER
environment variable;
if it is not set, then a fatal error is reported.
@@
-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