[syslog-ng] Directory/file create ownership

Marco Mignone info at marcomignone.com
Sun Mar 4 15:56:17 UTC 2018


Hi Laci,
Thanks for this.
I will have a play at this and I probably need to study a bit more of Docker as my confusion probably derives from the fact of using docker-compose to start all services instead of 'docker run' when one can specify also the user you want the container to start with.

The one thing I don't understand is why you can't access the file on the host machine (unless of using sudo) if the user on the host and inside the container are the same?

That is basically what I am trying to achieve, the output folder and files to have the ownership of an existing user / group on the host machine so that they are accessible by that user without having to sudo. I wonder if that is what you meant at the end talking about the external user in the 'note:' section of your reply?

Thanks for your help and reply, that's already a good starting point for me to try again.

Regards,
Marco


More information about the syslog-ng mailing list