2
0
mirror of https://gitlab.com/apparmor/apparmor synced 2025-08-30 13:58:22 +00:00

samba (nmbd and smbd) need to create /var/run/samba and /var/cache/samba

at startup (at least on systems where /var/run is on a tmpfs)

References: https://bugzilla.novell.com/show_bug.cgi?id=856651

Acked-by: Steve Beattie <steve@nxnw.org> for trunk and 2.8. Thanks!
This commit is contained in:
Christian Boltz
2013-12-23 22:15:47 +01:00
parent d64797e4c3
commit aa6b86a1c3

View File

@@ -12,9 +12,11 @@
/etc/samba/* r,
/usr/share/samba/*.dat r,
/usr/share/samba/codepages/{lowcase,upcase,valid}.dat r,
/var/cache/samba/ w,
/var/lib/samba/**.tdb rwk,
/var/log/samba/cores/ rw,
/var/log/samba/cores/** rw,
/var/log/samba/log.* w,
/{,var/}run/samba/ w,
/{,var/}run/samba/*.tdb rw,