apparmor/samba-3.4-etc-samba-sock.diff
Christian Boltz f480c778f4 Accepting request 330817 from home:cboltz
- add samba-3.4-etc-samba-sock.diff - Samba 3.4 needs write access
  to /etc/samba/sock/ (boo#945563)
- netstat moved to net-tools-deprecated in Tumbleweed (boo#944904)

OBS-URL: https://build.opensuse.org/request/show/330817
OBS-URL: https://build.opensuse.org/package/show/security:apparmor/apparmor?expand=0&rev=141
2015-09-13 20:30:22 +00:00

18 lines
572 B
Diff

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,