[syslog-ng] [Bug 52] CAP_DAC_OVERRIDE is missing when capabilities are enabled, unable to write to files created with the owner() option.

bugzilla at bugzilla.balabit.com bugzilla at bugzilla.balabit.com
Tue Oct 19 17:23:39 CEST 2010


https://bugzilla.balabit.com/show_bug.cgi?id=52


Balazs Scheidler <bazsi at balabit.hu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|                            |FIXED
             Status|NEW                         |RESOLVED




--- Comment #4 from Balazs Scheidler <bazsi at balabit.hu>  2010-10-19 17:23:38 ---
I've integrated this as well, thanks Zbigniew

commit 967b1720c8487f3cbe49292c7e5ed3b871ab2de5
Author: Zbigniew Krzystolik <zbyniu at pld-linux.org>
Date:   Tue Oct 19 17:21:23 2010 +0200

    fix capability in the file() destination

    fixes for settings like owner(), group(), perm() and analogous dir_* if create_dirs=yes
    for destination files
     - CAP_DAC_OVERRIDE force changes if parent dir has 000 perm, ie vservers (is inerhitted for dir_* too)
     - CAP_CHOWN - needed if dir_owner() or dir_group() are in use
     - CAP_FOWNER - to force chmod() for dirs with owner != root


-- 
Configure bugmail: https://bugzilla.balabit.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.


More information about the syslog-ng mailing list