Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:11.4:Update
apparmor.import4816
apparmor-profiles-samba
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File apparmor-profiles-samba of Package apparmor.import4816
From: Jeff Mahoney <jeffm@suse.com> Subject: apparmor-profiles: Add samba config files References: bnc#679182 bnc#666450 Signed-off-by: Jeff Mahoney <jeffm@suse.com> --- profiles/apparmor.d/abstractions/samba | 5 +++-- profiles/apparmor.d/usr.sbin.nmbd | 6 ++++-- profiles/apparmor.d/usr.sbin.smbd | 3 +++ 3 files changed, 10 insertions(+), 4 deletions(-) --- a/profiles/apparmor.d/abstractions/samba +++ b/profiles/apparmor.d/abstractions/samba @@ -10,10 +10,11 @@ # # ------------------------------------------------------------------ - /etc/samba/smb.conf r, + /etc/samba/* r, /usr/share/samba/*.dat r, /var/lib/samba/**.tdb rwk, - /var/log/samba/cores/* w, + /var/log/samba/cores/ rw, + /var/log/samba/cores/* rw, /var/log/samba/log.* w, /var/run/samba/*.tdb rw, --- a/profiles/apparmor.d/usr.sbin.nmbd +++ b/profiles/apparmor.d/usr.sbin.nmbd @@ -11,9 +11,11 @@ /usr/sbin/nmbd mr, /var/cache/samba/browse.dat* rw, + /var/lib/samba/browse.dat* rw, /var/lib/samba/wins.dat* rw, - /var/run/samba/** rk, - /var/run/samba/nmbd.pid rw, + /var/run/samba/** rwk, + /var/log/samba/cores rw, + /var/log/samba/cores/ rw, /var/log/samba/cores/nmbd/ rw, /var/log/samba/cores/nmbd/** rw, } --- a/profiles/apparmor.d/usr.sbin.smbd +++ b/profiles/apparmor.d/usr.sbin.smbd @@ -22,6 +22,9 @@ /etc/printcap r, /proc/*/mounts r, /usr/sbin/smbd mr, + /etc/samba/* rwk, + /etc/samba/passdb.tdb rwk, + /etc/samba/secrets.tdb rwk, /var/cache/samba/** rwk, /var/cache/samba/printing/printers.tdb mrw, /var/lib/samba/** rwk,
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor