mirror of
https://gitlab.com/apparmor/apparmor.git
synced 2025-03-07 01:41:00 +01:00

Subject: apparmor-profiles: Add samba config files References: bnc#679182 bnc#666450 Signed-off-by: Jeff Mahoney <jeffm@suse.com> - updated to match trunk - added changed path to nmbd profile (/var/cache/samba has moved to /var/lib/samba on (at least) openSUSE 11.4), bnc#679182#c8 For backward compability, it also allows /var/spool/samba. - Note: The smbd profile already contains both locations. by Christian Boltz <apparmor@cboltz.de> updated according to the comments from Steve Beattie by Christian Boltz <apparmor@cboltz.de> Acked-By: Steve Beattie <sbeattie@ubuntu.com>
19 lines
594 B
Text
19 lines
594 B
Text
# vim:syntax=apparmor
|
|
# ------------------------------------------------------------------
|
|
#
|
|
# Copyright (C) 2009-2010 Canonical Ltd.
|
|
#
|
|
# 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.
|
|
#
|
|
# ------------------------------------------------------------------
|
|
|
|
/etc/samba/* r,
|
|
/usr/share/samba/*.dat r,
|
|
/var/lib/samba/**.tdb rwk,
|
|
/var/log/samba/cores/ rw,
|
|
/var/log/samba/cores/** rw,
|
|
/var/log/samba/log.* w,
|
|
/{,var/}run/samba/*.tdb rw,
|
|
|