apparmor/samba-3.4-etc-samba-sock.diff

18 lines
572 B
Diff
Raw Normal View History

Samba 3.4 needs write access to /etc/samba/sock/
https://bugzilla.opensuse.org/show_bug.cgi?id=945563
=== modified file 'profiles/apparmor.d/abstractions/samba'
--- profiles/apparmor.d/abstractions/samba 2015-05-18 23:25:26 +0000
+++ profiles/apparmor.d/abstractions/samba 2015-09-13 07:44:19 +0000
@@ -10,6 +10,8 @@
# ------------------------------------------------------------------
/etc/samba/* r,
+ /etc/samba/sock/ rw,
+ /etc/samba/sock/* w,
/usr/share/samba/*.dat r,
/usr/share/samba/codepages/{lowcase,upcase,valid}.dat r,
/var/cache/samba/ w,