mirror of
https://gitlab.com/apparmor/apparmor.git
synced 2025-03-04 00:14:44 +01:00
Merge smbd: allow capability chown
This is neeed for "inherit owner = yes" in smb.conf. From man smb.conf: inherit owner (S) The ownership of new files and directories is normally governed by effective uid of the connected user. This option allows the Samba administrator to specify that the ownership for new files and directories should be controlled by the ownership of the parent directory. Fixes: https://bugzilla.suse.com/show_bug.cgi?id=1234327 I propose this fix for 3.x, 4.x and master. MR: https://gitlab.com/apparmor/apparmor/-/merge_requests/1456 Approved-by: Ryan Lee <rlee287@yahoo.com> Approved-by: John Johansen <john@jjmx.net> Merged-by: John Johansen <john@jjmx.net> (cherry picked from commita315d89a2b
)d3050285
smbd: allow capability chown Co-authored-by: John Johansen <john@jjmx.net>
This commit is contained in:
parent
06eb06215b
commit
672f0b352e
1 changed files with 1 additions and 0 deletions
|
@ -14,6 +14,7 @@ profile smbd /usr/{bin,sbin}/smbd {
|
|||
include <abstractions/wutmp>
|
||||
|
||||
capability audit_write,
|
||||
capability chown,
|
||||
capability dac_override,
|
||||
capability dac_read_search,
|
||||
capability fowner,
|
||||
|
|
Loading…
Add table
Reference in a new issue