Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-15-SP4:Update
libapparmor.29956
apparmor-samba-include-permissions-for-shares.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File apparmor-samba-include-permissions-for-shares.diff of Package libapparmor.29956
Samba generates a profile sniplet with permissions for all shares at start using the update-apparmor-samba-profile script. This patch includes the autogenerated profile sniplet it in the smbd profile. It also creates a dummy profile sniplet to avoid "file not found" errors when AppArmor is started before samba was started. References: https://bugzilla.novell.com/show_bug.cgi?id=688040 Signed-off-by: Christian Boltz <apparmor@cboltz.de> === added file 'profiles/apparmor.d/local/usr.sbin.smbd-shares' --- profiles/apparmor.d/local/usr.sbin.smbd-shares 1970-01-01 00:00:00 +0000 +++ profiles/apparmor.d/local/usr.sbin.smbd-shares 2011-10-19 09:40:05 +0000 @@ -0,0 +1,2 @@ +# This file will be replaced by rules for all samba shares at samba start. +# Do not edit! === modified file 'profiles/apparmor.d/usr.sbin.smbd' --- profiles/apparmor.d/usr.sbin.smbd 2011-08-27 18:50:42 +0000 +++ profiles/apparmor.d/usr.sbin.smbd 2011-10-19 09:37:04 +0000 @@ -59,6 +59,10 @@ @{HOMEDIRS}/** lrwk, /var/lib/samba/usershares/{,**} lrwk, + # permissions for all configured shares + # autogenerated by update-apparmor-samba-profile at samba start + include <local/usr.sbin.smbd-shares> + # Site-specific additions and overrides. See local/README for details. include if exists <local/usr.sbin.smbd> }
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