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

« back to all changes in this revision

Viewing changes to profiles/apparmor.d/abstractions/ubuntu-browsers.d/user-files

  • 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
# vim:syntax=apparmor
 
2
 
 
3
  # Allow read to all files user has DAC access to and write access to all
 
4
  # files owned by the user in $HOME.
 
5
  @{HOME}/ r,
 
6
  @{HOME}/** r,
 
7
  owner @{HOME}/** w,
 
8
  owner @{HOME}/Desktop/** r,
 
9
 
 
10
  # Do not allow read and/or write to particularly sensitive/problematic files
 
11
  #include <abstractions/private-files>
 
12
  audit deny @{HOME}/.ssh/** mrwkl,
 
13
  audit deny @{HOME}/.gnome2_private/** mrwkl,
 
14
 
 
15
  # Comment this out if using gpg plugin/addons
 
16
  audit deny @{HOME}/.gnupg/** mrwkl,
 
17
 
 
18
  # Allow read to all files user has DAC access to and write for files the user
 
19
  # owns on removable media and filesystems.
 
20
  /media/** r,
 
21
  /mnt/** r,
 
22
  /srv/** r,
 
23
  /net/** r,
 
24
  owner /media/** w,
 
25
  owner /mnt/** w,
 
26
  owner /srv/** w,
 
27
  owner /net/** w,