On 10/27/05, <b class="gmail_sendername">Yan M.</b> <<a href="mailto:yannnick_m@yahoo.com">yannnick_m@yahoo.com</a>> wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>From the chgrp man page in Solaris :</div>
<div> </div>
<div>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.</div>
<div> </div>
<div>So if the user has which the syslog-ng process is in the supplementary group to which</div>
<div>I want to change ownership of the file to, it should work.</div>
<div>It works in a shell.</div></blockquote></div><br>
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.<br>
<br>
Balazs?<br>