[apparmor] [patch] Samba 3.4 needs write access to /etc/samba/sock/
Christian Boltz
apparmor at cboltz.de
Sun Sep 13 07:50:18 UTC 2015
Hello,
$subject ;-)
References: https://bugzilla.opensuse.org/show_bug.cgi?id=945563
I propose this patch for trunk and 2.9.
[ samba-3.4-etc-samba-sock.diff ]
=== 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,
Regards,
Christian Boltz
--
> If power fails, you can't access your computer at all.
I could get the generator out of a car, attach it to a room-bicycle,
and generate electricity enough for my laptop :-)
[> Per Jessen and Carlos E. R. in opensuse-factory]
More information about the AppArmor
mailing list