apparmor/profiles/extras/etc.cron.daily.slocate.cron
Seth Arnold 087c48b35e r3527@dhcp-81: root | 2006-08-02 15:33:07 -0700
Fix up the m, U, and P stuff, and other misc fixes
2006-08-04 18:13:59 +00:00

28 lines
996 B
Text

# $Id$
# ------------------------------------------------------------------
#
# Copyright (C) 2002-2005 Novell/SUSE
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of version 2 of the GNU General Public
# License published by the Free Software Foundation.
#
# ------------------------------------------------------------------
# slocate has its own profile that gives sufficient access to read the
# database; this cronjob profile provides inherit access to slocate so
# that it can traverse the whole filesystem.
#
#include <tunables/global>
/etc/cron.daily/slocate.cron {
#include <abstractions/base>
/bin/bash mixr,
/dev/tty wr ,
/etc/cron.daily/slocate.cron r ,
/etc/mtab r ,
/proc/meminfo r ,
/usr/bin/slocate mixr,
/usr/bin/renice mixr,
/** r ,
}