restorecond(8)                                                restorecond(8)

NAME         top

       restorecond - daemon that watches for file creation and then sets the
       default SELinux file context

SYNOPSIS         top

       restorecond [-d] [-h] [-f restorecond_file ] [-u] [-v]

DESCRIPTION         top

       This manual page describes the restorecond program.

       This daemon uses inotify to watch files listed in the
       /etc/selinux/restorecond.conf, when they are created, this daemon
       will make sure they have the correct file context associated with the

OPTIONS         top

       -d     Turns on debugging mode.   Application will stay in the
              foreground and lots of debugs messages start printing.

       -h     Print usage statement.

       -f restorecond_file
              Use alternative restorecond.conf file.

       -u     Turns on user mode.  Runs restorecond in the user session and
              reads /etc/selinux/restorecond_user.conf.  Uses dbus to make
              sure only one restorecond is running per user session.

       -v     Turns on verbose debugging.  (Report missing files)

AUTHOR         top

       This man page and program was written by Dan Walsh

FILES         top

       /etc/selinux/restorecond.conf /etc/selinux/restorecond_user.conf

SEE ALSO         top


COLOPHON         top

       This page is part of the selinux (Security-Enhanced Linux user-space
       libraries and tools) project.  Information about the project can be
       found at ⟨⟩.  If you
       have a bug report for this manual page, see
       ⟨⟩.  This
       page was obtained from the project's upstream Git repository
       ⟨⟩ on 2019-11-19.  (At that
       time, the date of the most recent commit that was found in the repos‐
       itory was 2019-11-15.)  If you discover any rendering problems in
       this HTML version of the page, or you believe there is a better or
       more up-to-date source for the page, or you have corrections or
       improvements to the information in this COLOPHON (which is not part
       of the original manual page), send a mail to

                                 2002031409                   restorecond(8)