~ubuntu-branches/ubuntu/oneiric/apparmor/oneiric-security

« back to all changes in this revision

Viewing changes to profiles/extras/etc.cron.daily.slocate.cron

  • Committer: Bazaar Package Importer
  • Author(s): Kees Cook
  • Date: 2011-04-27 10:38:07 UTC
  • mfrom: (5.1.118 natty)
  • Revision ID: james.westby@ubuntu.com-20110427103807-ym3rhwys6o84ith0
Tags: 2.6.1-2
debian/copyright: clarify for some full organization names.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# $Id: etc.cron.daily.slocate.cron 90 2006-08-04 19:13:59Z seth_arnold $
2
 
# ------------------------------------------------------------------
3
 
#
4
 
#    Copyright (C) 2002-2005 Novell/SUSE
5
 
#
6
 
#    This program is free software; you can redistribute it and/or
7
 
#    modify it under the terms of version 2 of the GNU General Public
8
 
#    License published by the Free Software Foundation.
9
 
#
10
 
# ------------------------------------------------------------------
11
 
# slocate has its own profile that gives sufficient access to read the
12
 
# database; this cronjob profile provides inherit access to slocate so
13
 
# that it can traverse the whole filesystem.
14
 
15
 
 
16
 
#include <tunables/global>
17
 
 
18
 
/etc/cron.daily/slocate.cron {
19
 
  #include <abstractions/base>
20
 
  /bin/bash                        mixr,
21
 
  /dev/tty                         wr  ,
22
 
  /etc/cron.daily/slocate.cron     r   ,
23
 
  /etc/mtab                        r   ,
24
 
  /proc/meminfo                    r   ,
25
 
  /usr/bin/slocate                 mixr,
26
 
  /usr/bin/renice                  mixr,
27
 
  /**                              r   ,
28
 
}