[syslog-ng] syslog-ng.conf : option group(<gid>); does not work ( stable version )

catenate infosec at gmail.com
Fri Oct 28 05:24:11 CEST 2005


On 10/27/05, Yan M. <yannnick_m at yahoo.com> wrote:
>
> From the chgrp man page in Solaris :
>  To change the group ID of a file, the process must be the owner of the
> file and the new group ID must be the group of the process ID or must be in
> the supplementary group list of the process.
>  So if the user has which the syslog-ng process is in the supplementary
> group to which
> I want to change ownership of the file to, it should work.
> It works in a shell.
>

For some reason I read it as you trying to give away file ownership, not
group ownership. I just verified this behavior you describe on Solaris 8.
The same config does set the group perms as specified when running as root,
but when running as a non-root user the group ownership is always the
primary group of the user that the process is running as.

Balazs?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.balabit.hu/pipermail/syslog-ng/attachments/20051027/070d6314/attachment.htm


More information about the syslog-ng mailing list