[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: logrotate does not work on my log (Debian Jessie)



> From: ikuzar RABE <ikuzar9295@gmail.com>
>To: Glyn Astill <glynastill@yahoo.co.uk> 
>Cc: "debian-user@lists.debian.org" <debian-user@lists.debian.org>
>Sent: Wednesday, 27 January 2016, 16:56
>Subject: Re: logrotate does not work on my log (Debian Jessie)
> 
>
>
>the ownership of my_app.log.gz is not root (just a simple user, and a simple group)
>
>


Right, so add a line like this to the body of your logrotate file:

    su <your files owner> <your files group ownership>


Reply to: