I am facing an issue in an Ubuntu server where Rsyslog is not able to read any file from the Perforce logs directory.
I tested that Rsyslog configuration for the imfile module is working properly since it is able to read from other directories including /home.
I also added syslog user to perforce group and vice-versa but it still didn't work.
One workaround I found but obviously not suitable for production is to do something like:
tail -f /perforce/logs/log.csv >> /home/monitoredlogfile
some useful info :
drwxr----- 2 perforce perforce 4096 Jun 11 14:01 logs
uid=104(syslog) gid=108(syslog) groups=108(syslog),4(adm),1010(perforce)
uid=1010(perforce) gid=1010(perforce) groups=1010(perforce),108(syslog)
Any idea what could be going wrong ?