Switch to SpeakEasy.net DSL

The Modular Manual Browser

Home Page
Manual: (Debian-3.1)
Apropos / Subsearch:
optional field

DPKG-STATOVERRIDE(8)            dpkg utililties           DPKG-STATOVERRIDE(8)

       dpkg-statoverride - override ownership and mode of files

       dpkg-statoverride [options] --add <user> <group> <mode> &lt;file&gt;
       dpkg-statoverride [options] --remove &lt;file&gt;
       dpkg-statoverride [options] --list [&lt;glob-pattern&gt;]

       `stat  overrides'  are  a  way to tell dpkg to use a different owner or
       mode for a file when a package is installed.  (note:  I  use  the  word
       `file' here, but in reality this can be 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.

       --add &lt;user&gt; &lt;group&gt; &lt;mode&gt; &lt;file&gt;
              Add  an  override for <&lt;file>&gt;. <&lt;file>&gt; 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).

              If  --update  is  specified and <&lt;file>&gt; exists, it is immediately
              set to the new owner and mode.

       --remove &lt;file&gt;
              Remove an override for <&lt;file>&gt;,  the  status  of  <&lt;file  is  left
              unchanged by this command.

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

              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 file to the new owner and mode if
              it exists.

              Be less verbose about what we do.

       --help Show version, copyright and usage information.

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

              File  which  contains  the current list of stat overrides of the
              system. It is located  in  the  dpkg  administration  directory,
              along  with  other  files important to dpkg, such as `status' or
              Note: dpkg-statoverride preserves the old  copy  of  this  file,
              with extension "-old", before replacing it with the new one.


       Copyright      2000      Wichert     Akkerman     <wakkermaATdebian.org>

       This is free software; see the GNU General Public Licence version 2  or
       later for copying conditions.  There is NO warranty.

Debian project                   November 2000            DPKG-STATOVERRIDE(8)