Adding logrotation script, fixing permissions