EnglishFrenchSpanish

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

PROGRAM:

NAME


dpkg-statoverride - override ownership and mode of files

SYNOPSIS


dpkg-statoverride [option...] command

DESCRIPTION


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
group.

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

COMMANDS


--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
octal.

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.

--version
Show the version and exit.

OPTIONS


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

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

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

--quiet
Be less verbose about what we do.

ENVIRONMENT


DPKG_ADMINDIR
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
    PostInstallerF
    PostInstallerF
    PostInstallerF will install all the
    software that Fedora Linux and others
    doesn't include by default, after
    running Fedora for the first time. Its
    easy for...
    Download PostInstallerF
  • 2
    strace
    strace
    The strace project has been moved to
    https://strace.io. strace is a
    diagnostic, debugging and instructional
    userspace tracer for Linux. It is used
    to monitor a...
    Download strace
  • 3
    gMKVExtractGUI
    gMKVExtractGUI
    A GUI for mkvextract utility (part of
    MKVToolNix) which incorporates most (if
    not all) functionality of mkvextract and
    mkvinfo utilities. Written in C#NET 4.0,...
    Download gMKVExtractGUI
  • 4
    JasperReports Library
    JasperReports Library
    JasperReports Library is the
    world's most popular open source
    business intelligence and reporting
    engine. It is entirely written in Java
    and it is able to ...
    Download JasperReports Library
  • 5
    Frappe Books
    Frappe Books
    Frappe Books is a free and open source
    desktop book-keeping software that's
    simple and well-designed to be used by
    small businesses and freelancers. It'...
    Download Frappe Books
  • 6
    Numerical Python
    Numerical Python
    NEWS: NumPy 1.11.2 is the last release
    that will be made on sourceforge. Wheels
    for Windows, Mac, and Linux as well as
    archived source distributions can be fou...
    Download Numerical Python
  • More »

Linux commands

Ad