# Standard Configuration

This document describes the standard configuration for this CUPS server.

> Note:

> This file reflects the standard CUPS configuration as distributed by Apple Inc, the developer of CUPS.

## cupsd Configuration

`cupsd(8)` is configured by default to show printers shared by other systems and only allow local access to the system and its printers. Administration operations require Basic authentication with membership in the group "cups".

Connections are accepted via domain socket (/var/run/cups.sock) or "localhost" (127.0.0.1).

### Settings

Table 1: Default Values
Directive | Value
--- | ---
`Browsing` | `Yes`
`BrowseLocalProtocols` | `CUPS`
`BrowseRemoteProtocols` | `CUPS`
`BrowseShortNames` | `Yes`
`ConfigFilePerm` | `640`
`DefaultShared` | `Yes`
`ImplicitClasses` | `Yes`
`LogFilePerm` | `644`
`MaxCopies` | `9999`
`UseNetworkDefault` | `Yes`

## Directories

Table 2: Directories
Directory | Purpose
--- | ---
/usr/local/etc/cups | The location of configuration files such as printers.conf. Overridden by the `ServerRoot` directive in cupsd.conf.
/usr/local/bin | The location of user programs.
${prefix}/include | The location of CUPS include files.
${exec_prefix}/lib | The location of CUPS library files.
/usr/local/libexec/cups | The location of server programs such as backends and filters. Overridden by the `ServerBin` directive in cupsd.conf.
/usr/local/sbin | The location of administrator programs.
/usr/local/share/cups | The location of data files such as fonts. Overridden by the `DataDir` directive in cupsd.conf.
/usr/local/share/doc/cups | The location of documentation files. Overridden by the `DocumentRoot` directive in cupsd.conf.
/usr/local/share/locale | The location of localization files.
/var/db/cups | The location of cache files such as ppds.dat and remote.cache. Overridden by the `CacheDir` directive in cupsd.conf.
/var/log/cups | The location of the access_log, error_log, and page_log files. Overridden by the `AccessLog`, `ErrorLog`, `PageLog`, directive in cupsd.conf.
/var/run/cups | The location of the domain socket file and state data such as authentication certificates. Overridden by the `StateDir` directive in cupsd.conf.
/var/spool/cups | The location of spooled print jobs. Overridden by the `RequestRoot` directive in cupsd.conf.