|
From: Maxime <ma...@ta...> - 2018-09-11 02:17:42
|
Etienne Thank you for your email. Are you running the Wrapper as root? The Wrapper can change the permissions of the log file because it is owner of it, but it cannot change the ownership (this would require running itself as root anyway). The Wrapper creates the log file, writes in it and rolls it if needed, so usually the user of the Wrapper process is also the owner of the log file. For this reason there is currently no property to change the owner of the log file. May I ask the use case in which you need to have the owner of the log file different than the user of the Wrapper? Best Regards, Maxime On Tue, Sep 11, 2018 at 6:40 AM, Etienne Jouvin <lap...@gm...> wrote: > Version: 3.2.3 > OS : Ubuntu 18.04.1 LTS > Linux my-server 4.15.0-33-generic #36-Ubuntu SMP Wed Aug 15 16:00:05 UTC > 2018 x86_64 x86_64 x86_64 GNU/Linux > > > Hello. > > I want to configure log file properties. I show it is possible to setup > the permissions on file, but I would like to set the owner/group on the > file as I can do with a chown. > > Regards > > Etienne Jouvin > > > _______________________________________________ > Wrapper-user mailing list > Wra...@li... > https://lists.sourceforge.net/lists/listinfo/wrapper-user > > |