]> git.ipfire.org Git - thirdparty/cups.git/blame_incremental - man/cups-files.conf.man.in
Fix an Avahi-related crash bug in the scheduler (Issue #5085, Issue #5086)
[thirdparty/cups.git] / man / cups-files.conf.man.in
... / ...
CommitLineData
1.\"
2.\" cups-files.conf man page for CUPS.
3.\"
4.\" Copyright 2007-2016 by Apple Inc.
5.\" Copyright 1997-2006 by Easy Software Products.
6.\"
7.\" These coded instructions, statements, and computer programs are the
8.\" property of Apple Inc. and are protected by Federal copyright
9.\" law. Distribution and use rights are outlined in the file "LICENSE.txt"
10.\" which should have been included with this file. If this file is
11.\" file is missing or damaged, see the license at "http://www.cups.org/".
12.\"
13.TH cups-files.conf 5 "CUPS" "19 September 2016" "Apple Inc."
14.SH NAME
15cups\-files.conf \- file and directory configuration file for cups
16.SH DESCRIPTION
17The \fBcups\-files.conf\fR file configures the files and directories used by the CUPS scheduler,
18.BR cupsd (8).
19It is normally located in the \fI/etc/cups\fR directory.
20.LP
21Each line in the file can be a configuration directive, a blank line, or a comment.
22Configuration directives typically consist of a name and zero or more values separated by whitespace.
23The configuration directive name and values are case-insensitive.
24Comment lines start with the # character.
25.SS DIRECTIVES
26The following directives are understood by
27.BR cupsd (8):
28.\"#AccessLog
29.TP 5
30\fBAccessLog\fR
31.TP 5
32\fBAccessLog \fIfilename\fR
33.TP 5
34\fBAccessLog stderr\fR
35.TP 5
36\fBAccessLog syslog\fR
37Defines the access log filename.
38Specifying a blank filename disables access log generation.
39The value "stderr" causes log entries to be sent to the standard error file when the scheduler is running in the foreground, or to the system log daemon when run in the background.
40The value "syslog" causes log entries to be sent to the system log daemon.
41The server name may be included in filenames using the string "%s", for example:
42.nf
43
44 AccessLog /var/log/cups/%s-access_log
45
46.fi
47The default is "/var/log/cups/access_log".
48.\"#ConfigFilePerm
49.TP 5
50\fBConfigFilePerm \fImode\fR
51Specifies the permissions for all configuration files that the scheduler writes.
52The default is "0644" on macOS and "0640" on all other operating systems.
53.LP
54\fBNote:\fR The permissions for the \fIprinters.conf\fR file are currently masked to only allow access from the scheduler user (typically root).
55This is done because printer device URIs sometimes contain sensitive authentication information that should not be generally known on the system.
56There is no way to disable this security feature.
57.\"#CreateSelfSignedCerts
58.TP 5
59\fBCreateSelfSignedCerts yes\fR
60.TP 5
61\fBCreateSelfSignedCerts no\fR
62Specifies whether the scheduler automatically creates self-signed certificates for client connections using TLS.
63The default is yes.
64.\"#DataDir
65.TP 5
66\fBDataDir \fIpath\fR
67Specifies the directory where data files can be found.
68The default is usually "/usr/share/cups".
69.\"#DocumentRoot
70.TP 5
71\fBDocumentRoot \fIdirectory\fR
72Specifies the root directory for the CUPS web interface content.
73The default is usually "/usr/share/doc/cups".
74.\"#ErrorLog
75.TP 5
76\fBErrorLog\fR
77.TP 5
78\fBErrorLog \fIfilename\fR
79.TP 5
80\fBErrorLog stderr\fR
81.TP 5
82\fBErrorLog syslog\fR
83Defines the error log filename.
84Specifying a blank filename disables error log generation.
85The value "stderr" causes log entries to be sent to the standard error file when the scheduler is running in the foreground, or to the system log daemon when run in the background.
86The value "syslog" causes log entries to be sent to the system log daemon.
87The server name may be included in filenames using the string "%s", for example:
88.nf
89
90 ErrorLog /var/log/cups/%s-error_log
91
92.fi
93The default is "/var/log/cups/error_log".
94.\"#FatalErrors
95.TP 5
96\fBFatalErrors none\fR
97.TP 5
98\fBFatalErrors all \fI\-kind \fR[ ... \fI\-kind \fR]
99.TP 5
100\fBFatalErrors \fIkind \fR[ ... \fIkind \fR]
101Specifies which errors are fatal, causing the scheduler to exit.
102The default is "config".
103The \fIkind\fR strings are:
104.RS 5
105.TP 5
106.B none
107No errors are fatal.
108.TP 5
109.B all
110All of the errors below are fatal.
111.TP 5
112.B browse
113Browsing initialization errors are fatal, for example failed connections to the DNS-SD daemon.
114.TP 5
115.B config
116Configuration file syntax errors are fatal.
117.TP 5
118.B listen
119Listen or Port errors are fatal, except for IPv6 failures on the loopback or "any" addresses.
120.TP 5
121.B log
122Log file creation or write errors are fatal.
123.TP 5
124.B permissions
125Bad startup file permissions are fatal, for example shared TLS certificate and key files with world-read permissions.
126.RE
127.\"#FileDevice
128.TP 5
129\fBFileDevice Yes\fR
130.TP 5
131\fBFileDevice No\fR
132Specifies whether the file pseudo-device can be used for new printer queues.
133The URI "file:///dev/null" is always allowed.
134.\"#Group
135.TP 5
136\fBGroup \fIgroup-name-or-number\fR
137Specifies the group name or ID that will be used when executing external programs.
138The default group is operating system specific but is usually "lp" or "nobody".
139.\"#LogFilePerm
140.TP 5
141\fBLogFilePerm \fImode\fR
142Specifies the permissions of all log files that the scheduler writes.
143The default is "0644".
144.\"#PageLog
145.TP 5
146\fBPageLog \fR[ \fIfilename\fR ]
147.TP 5
148\fBPageLog stderr\fR
149.TP 5
150\fBPageLog syslog\fR
151Defines the page log filename.
152The value "stderr" causes log entries to be sent to the standard error file when the scheduler is running in the foreground, or to the system log daemon when run in the background.
153The value "syslog" causes log entries to be sent to the system log daemon.
154Specifying a blank filename disables page log generation.
155The server name may be included in filenames using the string "%s", for example:
156.nf
157
158 PageLog /var/log/cups/%s-page_log
159
160.fi
161The default is "/var/log/cups/page_log".
162.\"#RemoteRoot
163.TP 5
164\fBRemoteRoot \fIusername\fR
165Specifies the username that is associated with unauthenticated accesses by clients claiming to be the root user.
166The default is "remroot".
167.\"#RequestRoot
168.TP 5
169\fBRequestRoot \fIdirectory\fR
170Specifies the directory that contains print jobs and other HTTP request data.
171The default is "/var/spool/cups".
172.\"#Sandboxing
173.TP 5
174\fBSandboxing relaxed\fR
175.TP 5
176\fBSandboxing strict\fR
177Specifies the level of security sandboxing that is applied to print filters, backends, and other child processes of the scheduler.
178The default is "strict".
179This directive is currently only used/supported on macOS.
180.\"#ServerBin
181.TP 5
182\fBServerBin \fIdirectory\fR
183Specifies the directory containing the backends, CGI programs, filters, helper programs, notifiers, and port monitors.
184The default is "/usr/lib/cups" or "/usr/libexec/cups" depending on the platform.
185.\"#ServerKeychain
186.TP 5
187\fBServerKeychain \fIpath\fR
188Specifies the location of TLS certificates and private keys.
189The default is "/Library/Keychains/System.keychain" on macOS and "/etc/cups/ssl" on all other operating systems.
190macOS uses its keychain database to store certificates and keys while other platforms use separate files in the specified directory, *.crt for PEM-encoded certificates and *.key for PEM-encoded private keys.
191.\"#ServerRoot
192.TP 5
193\fBServerRoot \fIdirectory\fR
194Specifies the directory containing the server configuration files.
195The default is "/etc/cups".
196.\"#SyncOnClose
197.TP 5
198\fBSyncOnClose Yes\fR
199.TP 5
200\fBSyncOnClose No\fR
201Specifies whether the scheduler calls
202.BR fsync (2)
203after writing configuration or state files.
204The default is "No".
205.\"#SystemGroup
206.TP 5
207\fBSystemGroup \fIgroup-name \fR[ ... \fIgroup-name\fR ]
208Specifies the group(s) to use for \fI@SYSTEM\fR group authentication.
209The default contains "admin", "lpadmin", "root", "sys", and/or "system".
210.\"#TempDir
211.TP 5
212\fBTempDir \fIdirectory\fR
213Specifies the directory where temporary files are stored.
214The default is "/var/spool/cups/tmp".
215.\"#User
216.TP 5
217\fBUser \fIusername\fR
218Specifies the user name or ID that is used when running external programs.
219The default is "lp".
220.SH SEE ALSO
221.BR classes.conf (5),
222.BR cups (1),
223.BR cupsd (8),
224.BR cupsd.conf (5),
225.BR mime.convs (5),
226.BR mime.types (5),
227.BR printers.conf (5),
228.BR subscriptions.conf (5),
229CUPS Online Help (http://localhost:631/help)
230.SH COPYRIGHT
231Copyright \[co] 2007-2017 by Apple Inc.