OnWorks favicon

dpkg-statoverride - Online in the Cloud

Run dpkg-statoverride in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command dpkg-statoverride that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator



dpkg-statoverride - override ownership and mode of files


dpkg-statoverride [option...] command


stat overrides” are a way to tell dpkg(1) to use a different owner or mode for a path
when a package is installed (this applies to any filesystem object that dpkg handles,
including directories, devices, etc.). This can be used to force programs that are
normally setuid to be install without a setuid flag, or only executable by a certain

dpkg-statoverride is a utility to manage the list of stat overrides. It has three basic
functions: adding, removing and listing overrides.


--add user group mode path
Add an override for path. path does not need to exist when this command is used;
the override will be stored and used later. Users and groups can be specified by
their name (for example root or nobody), or by their number by prepending the
number with a ‘#’ (for example #0 or #65534). The mode needs to be specified in

If --update is specified and path exists, it is immediately set to the new owner
and mode.

--remove path
Remove an override for path, the status of path is left unchanged by this command.

--list [glob-pattern]
List all overrides. If a glob pattern is specified restrict the output to overrides
which match the glob. If there are no overrides or none match the glob
dpkg-statoverride will exit with an exitcode of 1.

--help Show the usage message and exit.

Show the version and exit.


--admindir directory
Change the directory of the dpkg database where the statoverride file is also
stored. Defaults to /var/lib/dpkg.

Force an action, even if a sanity check would otherwise prohibit it. This is
necessary to override an existing override.

Immediately try to change the path to the new owner and mode if it exists.

Be less verbose about what we do.


If set and the --admindir option has not been specified, it will be used as the
dpkg data directory.

Use dpkg-statoverride online using onworks.net services

Free Servers & Workstations

Download Windows & Linux apps

  • 1
    Avogadro is an advanced molecular
    editor designed for cross-platform use
    in computational chemistry, molecular
    modeling, bioinformatics, materials
    science and ...
    Download Avogadro
  • 2
    XMLTV is a set of programs to process
    TV (tvguide) listings and help manage
    your TV viewing, storing listings in an
    XML-based format. There are utilities to
    Download XMLTV
  • 3
    Strikr Free Software project. Artifacts
    released under a 'intent based'
    dual license: AGPLv3 (community) and
    CC-BY-NC-ND 4.0 international
    Download strikr
  • 5
    giflib is a library for reading and
    writing gif images. It is API and ABI
    compatible with libungif which was in
    wide use while the LZW compression
    algorithm was...
    Download GIFLIB
  • 6
    With Hugin you can assemble a mosaic of
    photographs into a complete immersive
    panorama, stitch any series of
    overlapping pictures and much more..
    Audience: Sci...
    Download Hugin
  • 7
    Alt-F provides a free and open source
    alternative firmware for the DLINK
    DNS-320/320L/321/323/325/327L and
    DNR-322L. Alt-F has Samba and NFS;
    supports ext2/3/4...
    Download Alt-F
  • More »

Linux commands