~ubuntu-branches/ubuntu/wily/apparmor/wily

« back to all changes in this revision

Viewing changes to profiles/apparmor/profiles/extras/usr.sbin.in.ftpd

  • 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
# ------------------------------------------------------------------
 
2
#
 
3
#    Copyright (C) 2002-2005 Novell/SUSE
 
4
#
 
5
#    This program is free software; you can redistribute it and/or
 
6
#    modify it under the terms of version 2 of the GNU General Public
 
7
#    License published by the Free Software Foundation.
 
8
#
 
9
# ------------------------------------------------------------------
 
10
 
 
11
#include <tunables/global>
 
12
 
 
13
/usr/sbin/in.ftpd {
 
14
  #include <abstractions/base>
 
15
  #include <abstractions/nameservice>
 
16
  #include <abstractions/authentication>
 
17
 
 
18
  /                                 r,
 
19
  /dev/urandom                      r,
 
20
  /etc/fstab                        r,
 
21
  /etc/ftpaccess                    r,
 
22
  /etc/ftpconversions               r,
 
23
  /etc/ftphosts                     r,
 
24
  /etc/ftpusers                     r,
 
25
  /etc/shells                       r,
 
26
 
 
27
  @{HOMEDIRS}                       r,
 
28
  @{HOME}/**                        rwl,
 
29
 
 
30
  /usr/sbin/in.ftpd                 r,
 
31
  /usr/share/ssl/certs/ca-bundle.crt        r,
 
32
  /usr/share/ssl/certs/ftpd-rsa.pem         r,
 
33
  /usr/share/ssl/private/ftpd-rsa-key.pem   r,
 
34
  /usr/share/ssl/.rnd               w,
 
35
  /var/log/xferlog                  w,
 
36
  /var/run                          wr,
 
37
  /var/run/ftp.{pids,rips}-all      wr,
 
38
}