The syslog-ng.conf specifies the user:group used for each destination (as well as permissions) Here is a quick example, but the manual is pretty comprehensive: #!# the main destination directory tree destination d_separatedbyhosts { file("/logs/syslog-ng/$HOST_FROM/$YEAR/$MONTH/$FACILITY.$PRIORITY.$YEAR.$MONT H.$DAY" owner("root") group("syslogng") perm(0640) dir_perm(0750) dir_group("sy slogng") create_dirs(yes)); }; The user and group used is entirely up to you based on how you want to grant access to these logs. My NFS comment is simply that if this is a central log server, I question why you would be using NFS mounted storage as opposed to local (direct attach or SAN) storage - but that is entirely up to you. Jim ---- Rocco Scappatura <Rocco.Scappatura@infracom.it> wrote:
Hello,
Unix/linux by default does not allow root write permissions to NFS mounted shares.
I suspect this may be the problem.
I would change the user:group that syslog-ng uses to write the data (if you *really* need to write to an NFS mount in the first place)
Thanks for your answer. I sincerely hope that just is as you have stated.
How I can change user:group as you mentioned above? Why you say '*really*'?
Thanks,
rocsca ______________________________________________________________________________ Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng Documentation: http://www.balabit.com/support/documentation/?product=syslog-ng FAQ: http://www.campin.net/syslog-ng/faq.html