OS Manuals

/usr/bin/dpkg-statoverride

The Debian Package Manager

From dpkg 1.23.11-r3 (os), captured 2026-11-05 by running dpkg-statoverride --help (exit 0). permalink

Usage: dpkg-statoverride [<option>...] <command>

Commands:
      --add <owner> <group> <mode> <path>
          Add a new <path> entry into the database.
      --remove <path>
          Remove <path> from the database.
      --list [<glob-pattern>]
          List current overrides in the database.
      --help
          Show this help message.
      --version
          Show the version.

Options:
      --update
          Immediately update <path> permissions.
      --force
          Deprecated alias for --force-all.
      --force-<thing>[,...]
          Override problems (see --force-help).
      --no-force-<thing>[,...]
          Stop when problems encountered.
      --refuse-<thing>[,...]
          Alias for --no-force.
      --quiet
          Enable quiet mode, minimal output.
      --admindir <directory>
          Change the database directory.
          [default: /var/lib/dpkg]
          [env: DPKG_ADMINDIR=]
      --instdir <directory>
          Change the installation directory.
          [default: /]
      --root <directory>
          Change the root directory.
          [default: /]
          [env: DPKG_ROOT=]
Options (15)
OptionDescriptionSource
--remove pathRemove <path> from the database.help
--list glob-patternList current overrides in the database.help
--helpShow this help message.help
--versionShow the version.help
--updateImmediately try to change the path to the new owner and mode if it exists.help + man
--forceForce an action, even if a sanity check would otherwise prohibit it.help + man
--force- thingOverride problems (see --force-help).help
--no-force- thingStop when problems encountered.help
--refuse- thingAlias for --no-force.help
--quietEnable quiet mode, minimal output.help + man
--admindir directorySet the administrative directory to directory.help + man
--instdir directorySet the installation directory, which refers to the directory where packages get installed.help + man
--root directorySet the root directory to directory, which sets the installation directory to «directory» and the administrative directory to «directory/var/lib/dpkg» if DPKG_ROOT has not been set.help + man
--force-things (in the manual page but not in --help)man
--no-force-things, --refuse-thingsForce or refuse (no-force and refuse mean the same thing) to do some things. (in the manual page but not in --help)man
Exit status (3) from the manual page
0The requested action was successfully performed.
1For --list, if there are no overrides or none match the supplied glob.
2Fatal or unrecoverable error due to invalid command-line usage, or interactions with the system, such as accesses to the database, memory allocations, etc.

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.